aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2012-06-05 17:26:17 +0000
committerRene Ladan <rene@FreeBSD.org>2012-06-05 17:26:17 +0000
commit2aa36bd28d77a771f2865f60543f8c6f1a4935c8 (patch)
tree11685980b0aadd374b617708158060bb965c890d /net-p2p
parent1b0d74e5e3dd52c313f1c877a077cee1e70c55c2 (diff)
downloadports-2aa36bd28d77a771f2865f60543f8c6f1a4935c8.tar.gz
ports-2aa36bd28d77a771f2865f60543f8c6f1a4935c8.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/amule-devel/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile
index 6e4b210cb294..1dddca1c4e95 100644
--- a/net-p2p/amule-devel/Makefile
+++ b/net-p2p/amule-devel/Makefile
@@ -235,22 +235,22 @@ post-patch: .SILENT
${WRKSRC}/configure
${FIND} ${WRKSRC} -name \*.pl -exec ${REINPLACE_CMD} \
's|/usr/bin/perl|${PERL}|' {} +
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \
${WRKSRC}/docs/Makefile.in
.endif
-.if !defined(WITHOUT_PLASMAMULE)
+.if ${PORT_OPTIONS:MPLASMAMULE}
${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \
-e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \
${WRKSRC}/src/utils/plasmamule/Makefile.in
.endif
post-install:
-.if !defined(WITHOUT_FILEVIEW)
+.if ${PORT_OPTIONS:MFILEVIEW}
${INSTALL_PROGRAM} ${WRKSRC}/src/utils/fileview/mulefileview ${PREFIX}/bin
.endif
.if exists(${LOCALBASE}/bin/update-desktop-database)
-. if !defined(WITHOUT_PLASMAMULE)
+. if ${PORT_OPTIONS:MPLASMAMULE}
-update-desktop-database ${KDE4_PREFIX}/share/applications
. if exists(${LOCALBASE}/bin/update-mime-database)
-update-mime-database ${KDE4_PREFIX}/share/mime