diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-27 09:23:34 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-27 09:23:34 +0800 |
commit | 8ba68144064eac8d164f7d857b12af40a49bd074 (patch) | |
tree | 7d1012905b596866eb88b175efd1fba50ba9c3c8 /graphics | |
parent | abad7303e73a8cabd7adccf1ad6e45c50e32dd80 (diff) | |
download | freebsd-ports-gnome-8ba68144064eac8d164f7d857b12af40a49bd074.tar.gz freebsd-ports-gnome-8ba68144064eac8d164f7d857b12af40a49bd074.tar.zst freebsd-ports-gnome-8ba68144064eac8d164f7d857b12af40a49bd074.zip |
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sam2p/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/graphics/sam2p/Makefile b/graphics/sam2p/Makefile index 96a465c1b2d2..1594c0e3527b 100644 --- a/graphics/sam2p/Makefile +++ b/graphics/sam2p/Makefile @@ -12,12 +12,11 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Converts raster (bitmap) image formats into PS or PDF files LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \ tif22pnm:${PORTSDIR}/graphics/tif22pnm -OPTIONS_DEFINE= DOCS EXAMPLES - USES= ghostscript:run gmake jpeg:run perl5 USE_PERL5= build USE_GCC= any @@ -31,12 +30,16 @@ PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/${PORTNAME} +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin) + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) |