diff options
-rw-r--r-- | www/ns-plugger-common/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/www/ns-plugger-common/Makefile b/www/ns-plugger-common/Makefile index a82179a6558..10c52dd5f47 100644 --- a/www/ns-plugger-common/Makefile +++ b/www/ns-plugger-common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/07/29 05:19:59 jlam Exp $ +# $NetBSD: Makefile,v 1.21 2007/10/10 15:27:15 dmcmahill Exp $ DISTNAME= plugger-4.0-linux-x86-glibc PKGNAME= ns-${PLUGGERNAME}-${BINNAME}-${PLUGGERVERS} @@ -14,13 +14,6 @@ CONFLICTS+= plugger-[0-9]* # obsolete all-in-one plugger package BINNAME?= common -.if ${BINNAME} != common -DEPENDS+= ${BINNAME}-[0-9]*:../../www/${BINNAME} -NSNAME!= ${PKG_INFO} -e ${BINNAME} || ${ECHO} -MOZILLA_HOME= ${PREFIX}/lib/netscape/${NSNAME:C/nb[0-9]+$//:S/4.80/4.8/} -PLIST_SUBST+= MOZILLA_HOME=${MOZILLA_HOME:S/${PREFIX}\///} -.endif - EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= base @@ -55,3 +48,10 @@ do-install: do-install-common .endif .include "../../mk/bsd.pkg.mk" + +.if ${BINNAME} != common +DEPENDS+= ${BINNAME}-[0-9]*:../../www/${BINNAME} +NSNAME!= ${PKG_INFO} -e ${BINNAME} || ${ECHO} +MOZILLA_HOME= ${PREFIX}/lib/netscape/${NSNAME:C/nb[0-9]+$//:S/4.80/4.8/} +PLIST_SUBST+= MOZILLA_HOME=${MOZILLA_HOME:S/${PREFIX}\///} +.endif |