blob: 3c6c9f38aa594ef2c3c7cc9c7e725bcfd9e36022 (
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
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.6 2000/05/12 10:07:34 sakamoto Exp $
#
DISTNAME= port2pkg-1.5
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= sakamoto@netbsd.org
RUN_DEPENDS+= pkglint:../../pkgtools/pkglint
USE_PERL5= YES
EXTRACT_ONLY= # empty
NO_WRKSUBDIR= yes
NO_CHECKSUM= yes
NO_PATCH= yes
NO_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
NROFF= gnroff
.else
NROFF= nroff
.endif
do-build:
${NROFF} -mandoc ${FILESDIR}/port2pkg.1 >${WRKSRC}/port2pkg.0
${SED} -e 's|$${GTAR}|${GTAR}|g' ${FILESDIR}/port2pkg.pl \
> ${WRKSRC}/port2pkg
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/port2pkg ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/port2pkg.0 ${PREFIX}/man/cat1
${INSTALL_MAN} ${FILESDIR}/port2pkg.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"
|