2013-05-31 14:39:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.40 2013/05/31 12:41:46 wiz Exp $
|
1999-07-27 13:33:06 +02:00
|
|
|
#
|
|
|
|
|
2012-03-26 16:05:36 +02:00
|
|
|
DISTNAME= port2pkg-1.13
|
2013-05-31 14:39:57 +02:00
|
|
|
PKGREVISION= 2
|
1999-07-27 13:33:06 +02:00
|
|
|
CATEGORIES= pkgtools
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
2006-09-03 02:56:28 +02:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2007-11-17 17:00:20 +01:00
|
|
|
NO_BUILD= yes
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= gtar perl:run
|
2009-02-10 01:15:20 +01:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
|
1999-07-27 13:33:06 +02:00
|
|
|
|
2007-11-17 17:00:20 +01:00
|
|
|
do-extract:
|
|
|
|
cd ${FILESDIR} && cp port2pkg.* ${WRKSRC}
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2007-11-17 17:00:20 +01:00
|
|
|
SUBST_CLASSES+= gtar
|
|
|
|
SUBST_STAGE.gtar= pre-configure
|
|
|
|
SUBST_FILES.gtar= port2pkg.pl
|
|
|
|
SUBST_SED.gtar= -e 's|$${GTAR}|${GTAR}|g'
|
1999-07-27 13:33:06 +02:00
|
|
|
|
2011-06-06 03:39:59 +02:00
|
|
|
REPLACE_PERL+= port2pkg.pl
|
|
|
|
|
1999-07-27 13:33:06 +02:00
|
|
|
do-install:
|
2009-02-10 01:15:20 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/port2pkg.pl ${DESTDIR}${PREFIX}/bin/port2pkg
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/port2pkg.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
1999-07-27 13:33:06 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|