diff options
author | antoine <antoine@FreeBSD.org> | 2014-03-08 23:24:57 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-03-08 23:24:57 +0800 |
commit | 8ca5758f057427719fcec858a60dda597640785a (patch) | |
tree | 565e6d83b2d74a9c2963ab6f5f8137e0b832c7fd /games | |
parent | 9e887c88ae2fdea32651795a88ecf7a0a539a5f3 (diff) | |
download | freebsd-ports-gnome-8ca5758f057427719fcec858a60dda597640785a.tar.gz freebsd-ports-gnome-8ca5758f057427719fcec858a60dda597640785a.tar.zst freebsd-ports-gnome-8ca5758f057427719fcec858a60dda597640785a.zip |
Ignore if CDROM_MOUNT is not set
Diffstat (limited to 'games')
-rw-r--r-- | games/linux-sof/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/linux-sof/Makefile b/games/linux-sof/Makefile index 555332d01307..d6b7d7b22fec 100644 --- a/games/linux-sof/Makefile +++ b/games/linux-sof/Makefile @@ -27,6 +27,10 @@ EXTRACT_FILES= libopenal-0.0.so libSDL-1.1.so.0 README.105 README.106 base/pak2. PORTDOCS= README README.105 README.106 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.pre.mk> @@ -34,10 +38,6 @@ do-extract: @${MKDIR} ${WRKSRC}/data ${WRKSRC}/patch @cd ${WRKSRC}/patch && ${SED} -e '1,/END_OF_STUB/d' ${_DISTDIR}/${DISTFILES} | \ ${GUNZIP_CMD} -q | ${TAR} xf - -.if !defined(CDROM_MOUNT) - @${ECHO_CMD} "${PKGNAME} requires CDROM_MOUNT set to mount point of CD" - @${FALSE} -.endif .if !exists(${CDROM_MOUNT}/bin/x86/glibc-2.1/${PORTNAME}) @${ECHO_CMD} "${PKGNAME} requires CD with Soldier of Fortune for Linux" @${FALSE} |