diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-30 03:08:03 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-30 03:08:03 +0800 |
commit | 619c45bd7dab540a1062c8462c2b283600d575c9 (patch) | |
tree | da5781b39e7297e53dacba8e8b64b7e6a64ebe1f /audio/gnump3d/Makefile | |
parent | 487bd24d2238a62e6aad72103fcfce32b0f1509a (diff) | |
download | freebsd-ports-graphics-619c45bd7dab540a1062c8462c2b283600d575c9.tar.gz freebsd-ports-graphics-619c45bd7dab540a1062c8462c2b283600d575c9.tar.zst freebsd-ports-graphics-619c45bd7dab540a1062c8462c2b283600d575c9.zip |
upgrade to 0.9.9.9.1
PR: 39984
Submitted by: Ports Fury
Diffstat (limited to 'audio/gnump3d/Makefile')
-rw-r--r-- | audio/gnump3d/Makefile | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/audio/gnump3d/Makefile b/audio/gnump3d/Makefile index 4849a028186..48128bea63d 100644 --- a/audio/gnump3d/Makefile +++ b/audio/gnump3d/Makefile @@ -7,7 +7,7 @@ # PORTNAME= gnump3d -PORTVERSION= 0.9.9.9 +PORTVERSION= 0.9.9.9.1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,11 +15,36 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org USE_BZIP2= yes -MAKE_ENV= CC="${CXX}" CFLAGS="${CXXFLAGS}" \ - PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ - PTHREAD_LIBS="${PTHREAD_LIBS}" -ALL_TARGET= freebsd +USE_PERL5= yes +USE_REINPLACE= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -MAN1= mp3d.1 mp3d.conf.1 mp3d-config.1 mp3d-top.1 +MAN1= gnump3d.1 gnump3d.conf.1 gnump3d-config.1 gnump3d-top.1 + +.if !defined(WITHOUT_VORBIS) +CONFIGURE_ARGS+= --with-vorbis +.endif + +pre-everything:: +.if !defined(WITHOUT_VORBIS) + @${ECHO_MSG} + @${ECHO_MSG} "If you want to compile without Ogg/Vorbis support," + @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_VORBIS=yes\"" + @${ECHO_MSG} +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|=aclocal|=${TRUE}|g ; \ + s|=autoconf|=${TRUE}|g ; \ + s|=automake|=${TRUE}|g ; \ + s|=autoheader|=${TRUE}|g ; \ + s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|#undef socklen_t||g' ${WRKSRC}/src/config.h.in .include <bsd.port.mk> |