aboutsummaryrefslogtreecommitdiff
path: root/audio/libsamplerate
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-22 09:58:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-22 09:58:00 +0000
commitf41d971ed42f38425c6028340067ef80993ddf21 (patch)
tree6257685b074593852a9c2ee59de90be112725d3a /audio/libsamplerate
parentea031670d85af6c095fa57f481e963c3172895a7 (diff)
downloadports-f41d971ed42f38425c6028340067ef80993ddf21.tar.gz
ports-f41d971ed42f38425c6028340067ef80993ddf21.zip
Remove useless patching of Makefile.in and let options framework handle what
should go in the package Cleanup plist
Notes
Notes: svn path=/head/; revision=368839
Diffstat (limited to 'audio/libsamplerate')
-rw-r--r--audio/libsamplerate/Makefile10
-rw-r--r--audio/libsamplerate/pkg-plist1
2 files changed, 1 insertions, 10 deletions
diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile
index 9592060ad4b9..b7d7f314dbe3 100644
--- a/audio/libsamplerate/Makefile
+++ b/audio/libsamplerate/Makefile
@@ -43,15 +43,7 @@ BUILD_DEPENDS += libsndfile>=0:${PORTSDIR}/audio/libsndfile
CONFIGURE_ARGS+= --disable-sndfile
.endif
-post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
- @${REINPLACE_CMD} -e '/SUBDIRS =/s/doc //' ${WRKSRC}/Makefile.in
-.endif
-.if empty(PORT_OPTIONS:MEXAMPLES)
- @${REINPLACE_CMD} -e '/SUBDIRS =/s/examples //' ${WRKSRC}/Makefile.in
-.endif
-
-.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
+.if defined(MAINTAINER_MODE)
check regression-test test: build
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \
check
diff --git a/audio/libsamplerate/pkg-plist b/audio/libsamplerate/pkg-plist
index 7d043ad66fa0..a3433011a381 100644
--- a/audio/libsamplerate/pkg-plist
+++ b/audio/libsamplerate/pkg-plist
@@ -20,4 +20,3 @@ libdata/pkgconfig/samplerate.pc
%%PORTDOCS%%%%DOCSDIR%%/lists.html
%%PORTDOCS%%%%DOCSDIR%%/quality.html
%%PORTDOCS%%%%DOCSDIR%%/win32.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%