aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/packddir/Makefile
blob: 70d13cef6a7bf7d7ddc06e1b916cb72227fa4307 (plain) (blame)
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
# New ports collection makefile for:    packddir
# Date created:     2009-08-22
# Whom:         Ayumi M <ayu@commun.jp>
#
# $FreeBSD$
#

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

MAINTAINER= ayu@commun.jp
COMMENT=    These trivial utilities can unpack and create PackdDir archives

WRKSRC=     ${WRKDIR}/src

PLIST_FILES=    bin/upackddir
MAN1=       upackddir.1

.include <bsd.port.pre.mk>

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

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

.include <bsd.port.post.mk>