2005-04-11 23:09:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2005/04/11 21:09:48 tvierling Exp $
|
2004-10-20 23:50:33 +02:00
|
|
|
|
2005-03-02 14:24:37 +01:00
|
|
|
DISTNAME= apstget-20050302
|
2004-12-28 01:31:38 +01:00
|
|
|
CATEGORIES= pkgtools
|
2004-10-20 23:50:33 +02:00
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAINTAINER= pancake@phreaker.net
|
|
|
|
COMMENT= apt-get like tool for pkgsrc
|
|
|
|
|
|
|
|
DEPENDS+= pkgfind>=20041020:../../pkgtools/pkgfind
|
|
|
|
DEPENDS+= pkg_tarup>=1.6.3:../../pkgtools/pkg_tarup
|
2005-02-20 23:59:07 +01:00
|
|
|
DEPENDS+= pkg_chk>=1.54:../../pkgtools/pkg_chk
|
2004-11-03 20:23:08 +01:00
|
|
|
DEPENDS+= pkglint>=3.94:../../pkgtools/pkglint
|
2004-10-20 23:50:33 +02:00
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_CHECKSUM= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-01-26 20:28:50 +01:00
|
|
|
CONF_FILES= apstget.conf ${PKG_SYSCONFDIR}/apstget.conf
|
2004-10-21 13:31:06 +02:00
|
|
|
|
2004-10-20 23:50:33 +02:00
|
|
|
do-extract:
|
2005-01-06 06:40:53 +01:00
|
|
|
@${CP} -R ${FILESDIR} ${WRKSRC}
|
2004-10-20 23:50:33 +02:00
|
|
|
|
|
|
|
do-install:
|
2004-12-28 01:31:38 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/apst-get ${PREFIX}/bin/apstget
|
2004-11-02 15:05:38 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/apstget-wrapper ${PREFIX}/libexec/
|
2004-10-20 23:50:33 +02:00
|
|
|
|
2004-11-02 16:36:12 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-12-23 15:25:00 +01:00
|
|
|
# AWK compatibilty stuff
|
2004-11-02 16:36:12 +01:00
|
|
|
.if ${OPSYS} != "Linux"
|
|
|
|
SUBST_SED.etc= -e "s,-W interactive,,"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBST_CLASSES+= etc
|
2004-10-20 23:50:33 +02:00
|
|
|
SUBST_STAGE.etc= post-patch
|
2004-11-02 15:05:38 +01:00
|
|
|
SUBST_FILES.etc= apst-get apstget-wrapper
|
2004-11-02 16:36:12 +01:00
|
|
|
SUBST_SED.etc+= -e "s,_etc_,${PKG_SYSCONFDIR},g" \
|
2004-10-21 00:52:19 +02:00
|
|
|
-e "s,_pfx_,${PREFIX},g" \
|
2004-10-26 07:25:05 +02:00
|
|
|
-e "s,_psd_,${PKGSRCDIR},g" \
|
|
|
|
-e "s,_makebin_,${MAKE},g"
|
2004-10-20 23:50:33 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|