diff options
Diffstat (limited to 'archivers/ppmd/Makefile')
-rw-r--r-- | archivers/ppmd/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/archivers/ppmd/Makefile b/archivers/ppmd/Makefile new file mode 100644 index 00000000000..b042354ff5a --- /dev/null +++ b/archivers/ppmd/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $ +# + +DISTNAME= ppmdi1 +PKGNAME= ppmd-9.1 +CATEGORIES= archivers +MASTER_SITES= http://compression.ru/ds/ +EXTRACT_SUFX= .rar + +MAINTAINER= ben@NetBSD.org +HOMEPAGE= http://compression.ru/ds/ +COMMENT= PPM file compressor + +MAKEFILE= makefile.gmk +ALL_TARGET= ppmd + +WRKSRC= ${WRKDIR} + +post-extract: + cd ${WRKSRC} && for i in *; do \ + ${MV} $$i $$i.new; \ + ${TR} -d '\r' <$$i.new >$$i; \ + ${RM} $$i.new; \ + done + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ppmd ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ppmd/ + ${INSTALL_DATA} ${WRKSRC}/read_me.txt ${PREFIX}/share/doc/ppmd/ + +.include "../../mk/bsd.pkg.mk" |