diff options
author | garga <garga@FreeBSD.org> | 2005-09-10 02:05:28 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-09-10 02:05:28 +0800 |
commit | 04a0f1ba98cb215b880c8962a6cc7e7340355096 (patch) | |
tree | b5f8fb051f1ebb8a5b955a9df04e150ac110cd2a /audio/snd | |
parent | 01588866e6591559ea22546a18c31afe8476140b (diff) | |
download | freebsd-ports-gnome-04a0f1ba98cb215b880c8962a6cc7e7340355096.tar.gz freebsd-ports-gnome-04a0f1ba98cb215b880c8962a6cc7e7340355096.tar.zst freebsd-ports-gnome-04a0f1ba98cb215b880c8962a6cc7e7340355096.zip |
- Fix install on 6.x
PR: ports/85275
Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'audio/snd')
-rw-r--r-- | audio/snd/Makefile | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile index dbbf657ed5d6..c980c8f9c96e 100644 --- a/audio/snd/Makefile +++ b/audio/snd/Makefile @@ -7,7 +7,7 @@ PORTNAME= snd PORTVERSION= 7.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -45,7 +45,7 @@ PLIST_FILES+= share/doc/snd/tutorial/files/.snd \ .if defined(WITH_ESD) CONFIGURE_ARGS+= --with-esd -RUN_DEPENDS= esd:${PORTSDIR}/audio/esound +RUN_DEPENDS+= esd:${PORTSDIR}/audio/esound .endif .if defined(WITH_RUBY) @@ -80,16 +80,11 @@ USE_X_PREFIX= yes USE_XLIB= yes .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 503000 -BROKEN= "Does not install on FreeBSD >= 5.x" -.endif - post-build: ${MV} ${WRKSRC}/sndinfo ${WRKSRC}/snd-info pre-install: + @${ECHO_CMD} "" > ${PLIST} .if !defined(WITHOUT_X11) ${ECHO_CMD} lib/X11/app-defaults/Snd.ad >> ${PLIST} ${ECHO_CMD} share/examples/snd/Snd.gtkrc >> ${PLIST} @@ -118,9 +113,11 @@ pre-install: .if defined(WITH_GUILE) ${FIND} ${WRKSRC} -name '*.scm' | \ ${SED} -e "s:^${WRKSRC}/:share/snd/:g" >> ${PLIST} - ${ECHO_CMD} "share/snd/contrib/dlp/README" >> ${PLIST} - ${ECHO_CMD} "@dirrm share/snd/contrib/dlp" >> ${PLIST} - ${ECHO_CMD} "@dirrm share/snd/contrib" >> ${PLIST} + ${ECHO_CMD} "share/snd/dlp/README" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/sndins/samples" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/sndins" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/tools" >> ${PLIST} + ${ECHO_CMD} "@dirrm share/snd/dlp" >> ${PLIST} ${ECHO_CMD} "@dirrm share/snd" >> ${PLIST} .endif @@ -154,7 +151,16 @@ do-install: cd ${WRKSRC} && ${PAX} -r -w tutorial ${DOCSDIR} .endif .if defined(WITH_GUILE) + @${MKDIR} ${DATADIR} + @${MKDIR} ${DATADIR}/dlp + @${MKDIR} ${DATADIR}/tools + @${MKDIR} ${DATADIR}/sndins + @${MKDIR} ${DATADIR}/sndins/samples ${INSTALL_DATA} ${WRKSRC}/*.scm ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dlp/*.scm ${DATADIR}/dlp + ${INSTALL_DATA} ${WRKSRC}/dlp/README ${DATADIR}/dlp + ${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${DATADIR}/tools + ${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${DATADIR}/sndins/samples .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |