2002-01-01 18:01:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2002/01/01 17:01:01 wiz Exp $
|
1999-07-27 13:33:06 +02:00
|
|
|
#
|
|
|
|
|
2002-01-01 18:01:01 +01:00
|
|
|
DISTNAME= port2pkg-1.10
|
1999-07-27 13:33:06 +02:00
|
|
|
CATEGORIES= pkgtools
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAINTAINER= sakamoto@netbsd.org
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Convert from a FreeBSD port to a NetBSD package
|
1999-07-27 13:33:06 +02:00
|
|
|
|
2000-07-27 18:29:05 +02:00
|
|
|
DEPENDS+= pkglint-[0-9]*:../../pkgtools/pkglint
|
1999-07-27 13:33:06 +02:00
|
|
|
|
|
|
|
USE_PERL5= YES
|
|
|
|
|
|
|
|
EXTRACT_ONLY= # empty
|
2001-09-09 22:36:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
1999-07-27 13:33:06 +02:00
|
|
|
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
|
2000-04-26 18:18:58 +02:00
|
|
|
${SED} -e 's|$${GTAR}|${GTAR}|g' ${FILESDIR}/port2pkg.pl \
|
|
|
|
> ${WRKSRC}/port2pkg
|
1999-07-27 13:33:06 +02:00
|
|
|
|
|
|
|
do-install:
|
2000-04-26 18:18:58 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/port2pkg ${PREFIX}/bin
|
1999-07-27 13:33:06 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/port2pkg.0 ${PREFIX}/man/cat1
|
|
|
|
${INSTALL_MAN} ${FILESDIR}/port2pkg.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|