Add support for non-gnu AWK
This commit is contained in:
parent
54bc958ef4
commit
c5d791661a
1 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.6 2004/11/02 14:05:38 poppnk Exp $
|
# $NetBSD: Makefile,v 1.7 2004/11/02 15:36:12 poppnk Exp $
|
||||||
|
|
||||||
DISTNAME= apstget-20041102
|
DISTNAME= apstget-20041102
|
||||||
CATEGORIES= pkgtools wip
|
CATEGORIES= pkgtools wip
|
||||||
|
@ -26,10 +26,16 @@ do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/apst-get ${PREFIX}/bin/apst-get
|
${INSTALL_SCRIPT} ${WRKSRC}/apst-get ${PREFIX}/bin/apst-get
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/apstget-wrapper ${PREFIX}/libexec/
|
${INSTALL_SCRIPT} ${WRKSRC}/apstget-wrapper ${PREFIX}/libexec/
|
||||||
|
|
||||||
SUBST_CLASSES= etc
|
.include "../../mk/bsd.prefs.mk"
|
||||||
|
|
||||||
|
.if ${OPSYS} != "Linux"
|
||||||
|
SUBST_SED.etc= -e "s,-W interactive,,"
|
||||||
|
.endif
|
||||||
|
|
||||||
|
SUBST_CLASSES+= etc
|
||||||
SUBST_STAGE.etc= post-patch
|
SUBST_STAGE.etc= post-patch
|
||||||
SUBST_FILES.etc= apst-get apstget-wrapper
|
SUBST_FILES.etc= apst-get apstget-wrapper
|
||||||
SUBST_SED.etc= -e "s,_etc_,${PKG_SYSCONFDIR},g" \
|
SUBST_SED.etc+= -e "s,_etc_,${PKG_SYSCONFDIR},g" \
|
||||||
-e "s,_pfx_,${PREFIX},g" \
|
-e "s,_pfx_,${PREFIX},g" \
|
||||||
-e "s,_psd_,${PKGSRCDIR},g" \
|
-e "s,_psd_,${PKGSRCDIR},g" \
|
||||||
-e "s,_makebin_,${MAKE},g"
|
-e "s,_makebin_,${MAKE},g"
|
||||||
|
|
Loading…
Reference in a new issue