diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-08-01 12:01:59 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-08-01 12:01:59 +0000 |
commit | 8c6b5d324248b5d88db6e9e51c9e7785bf8e1fa7 (patch) | |
tree | 21ffb0ae1e9952e96e049c64a7947b60e1215673 /audio/tse3/Makefile | |
parent | 9c8c0e19fe3653bc20823596d87411c869aa45d7 (diff) | |
download | ports-8c6b5d324248b5d88db6e9e51c9e7785bf8e1fa7.tar.gz ports-8c6b5d324248b5d88db6e9e51c9e7785bf8e1fa7.zip |
- Update to 0.3.0
PR: ports/84398
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=140648
Diffstat (limited to 'audio/tse3/Makefile')
-rw-r--r-- | audio/tse3/Makefile | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/audio/tse3/Makefile b/audio/tse3/Makefile index 19156893ef50..8059459ea319 100644 --- a/audio/tse3/Makefile +++ b/audio/tse3/Makefile @@ -5,8 +5,7 @@ # $FreeBSD$ PORTNAME= tse3 -PORTVERSION= 0.2.7 -PORTREVISION= 2 +PORTVERSION= 0.3.0 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,15 +13,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A MIDI library -LIB_DEPENDS= artsc:${PORTSDIR}/audio/arts - +USE_REINPLACE= yes USE_GMAKE= yes -USE_LIBTOOL_VER=15 +USE_LIBTOOL_VER= 15 +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --without-doc-install +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" INSTALLS_SHLIB= yes -USE_REINPLACE= yes -MAN1= tse3play.1 -MAN3= tse3.3 +MAN1= tse3play.1 +MAN3= tse3.3 .include <bsd.port.pre.mk> @@ -30,6 +30,12 @@ MAN3= tse3.3 BROKEN= "Does not compile on !i386" .endif +.if defined(WITH_ARTS) +LIB_DEPENDS+= artsmidi:${PORTSDIR}/multimedia/kdemultimedia3 +.else +CONFIGURE_ARGS+= --without-aRts +.endif + pre-everything:: @${ECHO_MSG} @${ECHO_MSG} -n "checking for SNDCTL_SEQ_GETTIME in sys/soundcard.h... " @@ -52,11 +58,16 @@ pre-everything:: ${ECHO_MSG} "Aborting."; exit 1;\ fi -post-patch: - @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|prefix}/doc/$${PACKAGE}-$${VERSION}|prefix}/share/doc/$${PACKAGE}|' - -pre-configure: - @${FIND} ${WRKSRC} -type f | ${XARGS} -x -n 10 \ - ${REINPLACE_CMD} -e 's|_LDFLAGS =|_LDFLAGS = ${PTHREAD_LIBS}|g' +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.jpeg ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/History ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/songs + ${INSTALL_DATA} ${WRKSRC}/demos/*.tse3 ${DOCSDIR}/songs +.endif .include <bsd.port.post.mk> |