aboutsummaryrefslogblamecommitdiff
path: root/deskutils/gnustep-wrapper/Makefile
blob: b2c82941931026b3923339a3e7a0571272f78820 (plain) (tree)
1
2
3
4
5
6
7
8
9

                       
                  

                                                             
                            


                                             
                                 

                                                                       
                     
                                 
 


                                           
 
                                                    

                        
           
                                               
                                                              

                                                                                      
 
             
                                                                      
                                                                                            


                                                                                                       
 
                      
PORTNAME=	wrapper
PORTVERSION=	0.1.0
PORTREVISION=	10
CATEGORIES=	deskutils gnustep
#MASTER_SITES=	ftp://ftp.raffael.ch/software/GNUstepWrapper/
MASTER_SITES=	LOCAL/dinoex
PKGNAMEPREFIX=	gnustep-
DISTNAME=	GNUstepWrapper-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Create GNUstep app-wrappers of non-GNUstep applications

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gnustep
USE_GNUSTEP=	back build
USE_LDCONFIG=	${GNUSTEP_SYSTEM_LIBRARIES}

ADDITIONAL_LIB_DIRS+=	-L${WRKSRC}/libGSWrapper/obj
MAKE_FLAGS+=	debug=no

post-patch:
	${REINPLACE_CMD} -e 's|cp -u|#cp -p|' \
		${WRKSRC}/WrapperFactory/GNUmakefile.postamble
	${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
		${WRKSRC}/GNUmakefile

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/Launcher/obj/GSWrapper_Launcher \
		${STAGEDIR}${GNUSTEP_SYSTEM_ROOT}/Applications/WrapperFactory.app/Resources/
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Tools/GSWrapper_Launcher
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Libraries/libGSWrapper.so
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/WrapperFactory.app/WrapperFactory

.include <bsd.port.mk>