diff options
-rw-r--r-- | archivers/sapcar/Makefile | 6 | ||||
-rw-r--r-- | devel/sapnwrfcsdk/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/archivers/sapcar/Makefile b/archivers/sapcar/Makefile index 2465a14bce6..d2cffa626a5 100644 --- a/archivers/sapcar/Makefile +++ b/archivers/sapcar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/10/11 15:33:41 sno Exp $ +# $NetBSD: Makefile,v 1.4 2010/02/11 15:16:18 joerg Exp $ PKGNAME= sapcar-7.00 CATEGORIES= archivers @@ -62,6 +62,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= SAP archiver LICENSE= sap-license +.if !exists(DOWNLOADED_DISTFILE) && make(pbulk-index) +PKG_FAIL_REASON+= "Missing distfile" +.endif + RESTRICTED= Only unmodified original package can be distributed NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} diff --git a/devel/sapnwrfcsdk/Makefile b/devel/sapnwrfcsdk/Makefile index fbac87689b7..5c323b1a383 100644 --- a/devel/sapnwrfcsdk/Makefile +++ b/devel/sapnwrfcsdk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/10/11 15:33:27 sno Exp $ +# $NetBSD: Makefile,v 1.4 2010/02/11 15:16:18 joerg Exp $ PKGNAME= sapnwrfcsdk-7.11 CATEGORIES= devel @@ -61,6 +61,10 @@ BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported BROKEN= Platform ${OPSYS} not supported .endif +.if !exists(DOWNLOADED_DISTFILE) && make(pbulk-index) +PKG_FAIL_REASON+= "Missing distfile" +.endif + EXTRACT_CMD= SAPCAR -xvf ${DOWNLOADED_DISTFILE} MAINTAINER= pkgsrc-users@NetBSD.org |