aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2010-09-10 22:02:23 +0800
committerkmoore <kmoore@FreeBSD.org>2010-09-10 22:02:23 +0800
commitc008d904176982df140941a514f58feb81d449f3 (patch)
treecc2fab3c79f52e02ecc4a2ab5ff5ddf1dc710849 /net
parent4a4768647984ef52ede9253bcc92dc53517a65ab (diff)
downloadfreebsd-ports-gnome-c008d904176982df140941a514f58feb81d449f3.tar.gz
freebsd-ports-gnome-c008d904176982df140941a514f58feb81d449f3.tar.zst
freebsd-ports-gnome-c008d904176982df140941a514f58feb81d449f3.zip
Respect PREFIX
PR: 150342 Submitted by: David Naylor <naylor.b.david@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/pcbsd-netmanager/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/pcbsd-netmanager/Makefile b/net/pcbsd-netmanager/Makefile
index edf2648fa98c..40491fb26475 100644
--- a/net/pcbsd-netmanager/Makefile
+++ b/net/pcbsd-netmanager/Makefile
@@ -21,16 +21,18 @@ WRKSRC= ${WRKDIR}/pcbsd-netmanager
USE_GZIP= yes
USE_QMAKE= yes
-USE_KDE4= automoc4 kdehier kdeprefix kdelibs workspace
+USE_KDE4= automoc4 kdehier kdeprefix kdelibs workspace
+USE_LDCONFIG= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build moc_build rcc_build uic_build linguist
HAS_CONFIGURE= yes
+MAKE_ARGS= INSTALL_ROOT=${DESTDIR}
-QMAKE_ARGS= -unix -recursive ${QMAKE_PRO}
-QMAKE_PRO= pcbsdnetmanager.pro
+QMAKE_ARGS= -unix -recursive ${QMAKE_PRO}
+QMAKE_PRO= pcbsdnetmanager.pro
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ @${REINPLACE_CMD} -e 's|/usr/local/kde4|${PREFIX}|g' \
${WRKSRC}/pcbsdnetmanager.pro \
${WRKSRC}/src/NetworkManager/NetworkManager.pro \
${WRKSRC}/src/NetworkManagerAdmin/NetworkManagerAdmin.pro \