aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fli2gif/Makefile12
-rw-r--r--graphics/fli2gif/pkg-plist3
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