aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/amule-devel
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2012-06-06 01:26:17 +0800
committerrene <rene@FreeBSD.org>2012-06-06 01:26:17 +0800
commitd568e85594f5dc1d6e9217ff6186dcc0b2745de7 (patch)
treed8dc8bc18a834c7ed38848cc7e1d6e3011f99d3b /net-p2p/amule-devel
parent9fac17f7fc366152fd35a618e979002ca37298b3 (diff)
downloadfreebsd-ports-gnome-d568e85594f5dc1d6e9217ff6186dcc0b2745de7.tar.gz
freebsd-ports-gnome-d568e85594f5dc1d6e9217ff6186dcc0b2745de7.tar.zst
freebsd-ports-gnome-d568e85594f5dc1d6e9217ff6186dcc0b2745de7.zip
Finish converting this port to optionsNG.
Approved by: maintainer
Diffstat (limited to 'net-p2p/amule-devel')
-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