blob: 701ab4dc0ba706e14064db22dcda729672fb407c (
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
|
# $NetBSD: Makefile,v 1.12 2012/10/06 14:11:15 asau Exp $
DISTNAME= prag-1.0pl2
PKGNAME= prag-1.0.2
CATEGORIES= graphics
MASTER_SITES= http://www.kohala.com/start/troff/
EXTRACT_SUFX= .shar
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Replacement to "grap" graph generator backend to pic
WRKSRC= ${WRKDIR}/prag-1.0
NO_BUILD= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
post-patch:
(cd ${WRKSRC}; ${MV} prag prag.orig)
(cd ${WRKSRC}; ${SED} -e "1s,/bin/nawk,${AWK}," < prag.orig >prag)
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/prag ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/prag.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
|