diff options
author | ak <ak@FreeBSD.org> | 2013-09-26 02:08:38 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2013-09-26 02:08:38 +0800 |
commit | 061332178908ffe5e9096bd10c4f846246d448e6 (patch) | |
tree | acd2e547b992e39fa0ea7a08465c7a9e6b1a0b24 /graphics | |
parent | 0142ef4181d42d2e52866ce83a42cbe2139f1325 (diff) | |
download | freebsd-ports-gnome-061332178908ffe5e9096bd10c4f846246d448e6.tar.gz freebsd-ports-gnome-061332178908ffe5e9096bd10c4f846246d448e6.tar.zst freebsd-ports-gnome-061332178908ffe5e9096bd10c4f846246d448e6.zip |
- Support STAGEDIR
- Utilize PLIST_FILES/PORTDOCS
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fli2gif/Makefile | 12 | ||||
-rw-r--r-- | graphics/fli2gif/pkg-plist | 3 |
2 files changed, 6 insertions, 9 deletions
diff --git a/graphics/fli2gif/Makefile b/graphics/fli2gif/Makefile index 20448c440a7f..24575be96766 100644 --- a/graphics/fli2gif/Makefile +++ b/graphics/fli2gif/Makefile @@ -16,7 +16,9 @@ NO_WRKSUBDIR= yes USE_ZIP= yes USE_DOS2UNIX= fli2gif.cpp FLI2GIF.TXT -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= fli2gif.txt + post-extract: @cd ${WRKSRC} && ${UNZIP_CMD} -q source.zip \ && ${LN} -sf GIF.CPP gif.cpp \ @@ -26,10 +28,8 @@ do-build: @cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o ${PORTNAME} *.cpp do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fli2gif ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/FLI2GIF.TXT ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/fli2gif ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/FLI2GIF.TXT ${STAGEDIR}${DOCSDIR}/fli2gif.txt .include <bsd.port.mk> diff --git a/graphics/fli2gif/pkg-plist b/graphics/fli2gif/pkg-plist deleted file mode 100644 index c63bf93583c8..000000000000 --- a/graphics/fli2gif/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/fli2gif -%%PORTDOCS%%share/doc/fli2gif/FLI2GIF.TXT -%%PORTDOCS%%@dirrm share/doc/fli2gif |