1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Ignore if CDROM_MOUNT is not set

This commit is contained in:
Antoine Brodin 2014-03-08 14:35:25 +00:00
parent c8d9801a89
commit 628e4d128d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347503

View File

@ -24,6 +24,10 @@ RESTRICTED= Redistribution is limited, see license
PORTDOCS= README.liflg ShellSymbols.txt changes.txt notes.txt
SUB_FILES= pkg-message
.if !defined(CDROM_MOUNT)
IGNORE= ${PKGNAME} requires CDROM_MOUNT set to mount point of CD
.endif
NO_STAGE= yes
.include <bsd.port.options.mk>
@ -57,10 +61,6 @@ post-patch:
-e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/${PORTNAME}
do-install:
.if !defined(CDROM_MOUNT)
@${ECHO_CMD} "${PKGNAME} requires CDROM_MOUNT set to mount point of CD"
@${FALSE}
.endif
.if !exists(${CDROM_MOUNT}/Install/Mods/SeriousSamTbn.tex)
@${ECHO_CMD} "${PKGNAME} requires a retail First Encounter disc"
@${FALSE}