d2ca14a3f1
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
35 lines
831 B
Makefile
35 lines
831 B
Makefile
# $NetBSD: Makefile,v 1.40 2013/05/31 12:41:46 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= port2pkg-1.13
|
|
PKGREVISION= 2
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Convert from a FreeBSD port to a NetBSD package
|
|
|
|
DEPENDS+= pkglint-[0-9]*:../../pkgtools/pkglint
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= gtar perl:run
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
|
|
|
|
do-extract:
|
|
cd ${FILESDIR} && cp port2pkg.* ${WRKSRC}
|
|
|
|
SUBST_CLASSES+= gtar
|
|
SUBST_STAGE.gtar= pre-configure
|
|
SUBST_FILES.gtar= port2pkg.pl
|
|
SUBST_SED.gtar= -e 's|$${GTAR}|${GTAR}|g'
|
|
|
|
REPLACE_PERL+= port2pkg.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/port2pkg.pl ${DESTDIR}${PREFIX}/bin/port2pkg
|
|
${INSTALL_MAN} ${WRKSRC}/port2pkg.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|