aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2014-01-24 22:20:42 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2014-01-24 22:20:42 +0000
commite27955c43988bc56a755323001070efa47d0ae91 (patch)
tree3232ef877993f05d78008de12b526d83889f83ae /audio
parentff118c9b25f1337651254dc6827b7d5f3fe2b0c3 (diff)
downloadports-e27955c43988bc56a755323001070efa47d0ae91.tar.gz
ports-e27955c43988bc56a755323001070efa47d0ae91.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/lame/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile
index 036da9ccc5c0..fe289da936ae 100644
--- a/audio/lame/Makefile
+++ b/audio/lame/Makefile
@@ -15,7 +15,6 @@ USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-nasm --enable-mp3rtp --disable-gtktest
-CONFIGURE_ARGS_PREFIX= ${STAGEDIR}${PREFIX}
RESTRICTED= patent issues, see http://www.mp3licensing.com/
@@ -32,22 +31,11 @@ post-patch:
@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
${WRKSRC}/libmp3lame/i386/Makefile.in
-.if !${PORT_OPTIONS:MDOCS}
-do-install:
- @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
- ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-exec
- @cd ${INSTALL_WRKSRC}/include && ${SETENV} ${MAKE_ENV} ${GMAKE} \
- ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
- @cd ${INSTALL_WRKSRC}/doc/man && ${SETENV} ${MAKE_ENV} ${GMAKE} \
- ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
-.else
-post-install: install-doc
-
-install-doc:
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmp3lame.so.0
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.post.mk>