summaryrefslogtreecommitdiff
path: root/archivers/packddir/Makefile
blob: ec0b8ebff7e65e8cba928f201c6d41d5e7ef4d21 (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
# Created by: Ayumi M <ayu@commun.jp>

PORTNAME=	packddir
PORTVERSION=	0.0.6
CATEGORIES=	archivers
MASTER_SITES=	SAVANNAH
DISTNAME=	upackddir_${PORTVERSION}-1

MAINTAINER=	ayu@commun.jp
COMMENT=	Utilities to unpack and create PackdDir archives

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

WRKSRC=		${WRKDIR}/src

PLIST_FILES=	bin/upackddir \
		man/man1/upackddir.1.gz
MAKE_ARGS=	CC="${CC}"

post-patch:
	${REINPLACE_CMD} -e 's|$$(DESTDIR)/usr|$$(DESTDIR)${PREFIX}|' ${WRKSRC}/Makefile

post-install:
	${INSTALL_MAN} ${WRKSRC}/upackddir.1 ${STAGEDIR}${MANPREFIX}/man/man1
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/upackddir

.include <bsd.port.mk>