diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-01-28 17:50:17 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-01-28 17:50:17 +0000 |
commit | 7b71dc1d9c58cd1503dcf1c9542a4401012da971 (patch) | |
tree | 85ebbd6ef9d4d0832db20c714f8e14f5aefa4f5b | |
parent | 3f83242388d2cd2d5f2c7a0586bcc620aa376c2b (diff) | |
download | ports-7b71dc1d9c58cd1503dcf1c9542a4401012da971.tar.gz ports-7b71dc1d9c58cd1503dcf1c9542a4401012da971.zip |
- Add OPTIONS for sound support
- Get rid of deprecated stuff
PR: 164157
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=289968
-rw-r--r-- | games/xscorch/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/games/xscorch/Makefile b/games/xscorch/Makefile index 36432f9ca879..baf853c50c8d 100644 --- a/games/xscorch/Makefile +++ b/games/xscorch/Makefile @@ -16,32 +16,23 @@ COMMENT= Multiplayer tank shoot-em-up LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod +OPTIONS= MIKMOD "Enable libmikmod support" on -USE_XORG= xpm USE_GNOME= gtk20 -WANT_GNOME= yes USE_PERL5= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gtk MAKE_JOBS_SAFE= yes MAN6= xscorch.6 -NO_MANCOMPRESS= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if ${HAVE_GNOME:Mgnomelibs}!="" -USE_GNOME+= gnomeprefix gnomelibs -PKGNAMESUFFIX= -gnome +.if defined(WITHOUT_MIKMOD) +CONFIGURE_ARGS+=--disable-sound .else -CONFIGURE_ARGS+= --without-gnome +LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod +CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE} .endif -post-patch: - @${REINPLACE_CMD} -e 's,MSG_NOSIGNAL,0,' \ - ${WRKSRC}/snet/tcpnet/tn_internal.c \ - ${WRKSRC}/snet/tcpnet/tn_read.c - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |