summaryrefslogtreecommitdiff
path: root/archivers/ppmd/Makefile
blob: d1f6b42989c7bb37cb943e37bbb912eece02cdb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.2 2004/04/14 14:56:09 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}
USE_LANGUAGES=	c++

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"