diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-27 20:50:28 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-27 20:50:28 +0000 |
commit | 2056e144752ab335f606d88a3c915dcd418d3c03 (patch) | |
tree | 9b008c3bbf25e28a8021083556c57f1f827a37d8 /graphics/linplasma | |
parent | 9298b2b523ad17bf939326bde73729c113eb15bd (diff) | |
download | ports-2056e144752ab335f606d88a3c915dcd418d3c03.tar.gz ports-2056e144752ab335f606d88a3c915dcd418d3c03.zip |
- Add staging support
- Convert to new LIB_DEPENDS format, options framework
Notes
Notes:
svn path=/head/; revision=352461
Diffstat (limited to 'graphics/linplasma')
-rw-r--r-- | graphics/linplasma/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/linplasma/Makefile b/graphics/linplasma/Makefile index fe5ce563416a..cd0766023c83 100644 --- a/graphics/linplasma/Makefile +++ b/graphics/linplasma/Makefile @@ -11,7 +11,7 @@ MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib MAINTAINER= ports@FreeBSD.org COMMENT= Sinus plasma, an SVGAlib demo -LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib +LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib ONLY_FOR_ARCHS= i386 @@ -20,7 +20,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/linplasma PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s:PI:M_PI:" ${WRKSRC}/linplasma.c @${REINPLACE_CMD} -e \ @@ -28,11 +29,9 @@ post-patch: ${WRKSRC}/linplasma.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${PREFIX}/bin - ${CHMOD} +s ${PREFIX}/bin/linplasma -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${STAGEDIR}${PREFIX}/bin + ${CHMOD} +s ${STAGEDIR}${PREFIX}/bin/linplasma + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |