aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/minitube
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2015-08-25 18:03:08 +0800
committermakc <makc@FreeBSD.org>2015-08-25 18:03:08 +0800
commit9e5654a5c0aea99f1b9b5daff162b08b49242b7b (patch)
tree542278ecb4449b3df78960fd5f6cf7d8be50914f /multimedia/minitube
parent76858881403322c6f97767f7d23afe1a13ec5546 (diff)
downloadfreebsd-ports-gnome-9e5654a5c0aea99f1b9b5daff162b08b49242b7b.tar.gz
freebsd-ports-gnome-9e5654a5c0aea99f1b9b5daff162b08b49242b7b.tar.zst
freebsd-ports-gnome-9e5654a5c0aea99f1b9b5daff162b08b49242b7b.zip
Convert my ports to new options helpers
Diffstat (limited to 'multimedia/minitube')
-rw-r--r--multimedia/minitube/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/multimedia/minitube/Makefile b/multimedia/minitube/Makefile
index aad932cea497..d0eee621e114 100644
--- a/multimedia/minitube/Makefile
+++ b/multimedia/minitube/Makefile
@@ -20,17 +20,15 @@ OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USE= QT4=linguisttools_build
-.include <bsd.port.options.mk>
-
pre-everything::
@${CAT} ${PKGMESSAGE}
-pre-configure:
-.if !${PORT_OPTIONS:MNLS}
- ${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro
-.endif
+post-patch:
# Remove BOM
${REINPLACE_CMD} -e '1 s|^.*/|/|g' \
${WRKSRC}/src/aggregatevideosource.cpp
+post-patch-NLS-off:
+ ${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro
+
.include <bsd.port.mk>