aboutsummaryrefslogtreecommitdiffstats
path: root/print/kpdftool
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-10-09 18:08:04 +0800
committermakc <makc@FreeBSD.org>2013-10-09 18:08:04 +0800
commitb007c6bbe5b8c1944952df8b20c8b5aa2498fc1d (patch)
tree783ac82dca4d834a26ba06cd6c31ec4c55c74099 /print/kpdftool
parente56aeb69d6b9543f6719c7da94faf66f60caa342 (diff)
downloadfreebsd-ports-gnome-b007c6bbe5b8c1944952df8b20c8b5aa2498fc1d.tar.gz
freebsd-ports-gnome-b007c6bbe5b8c1944952df8b20c8b5aa2498fc1d.tar.zst
freebsd-ports-gnome-b007c6bbe5b8c1944952df8b20c8b5aa2498fc1d.zip
- Convert to USES= qmake
- Bring stage support - Adjust DESKTOP_ENTRIES - Use options helpers - Use new LIB_DEPENDS syntax
Diffstat (limited to 'print/kpdftool')
-rw-r--r--print/kpdftool/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/print/kpdftool/Makefile b/print/kpdftool/Makefile
index 80ff746ea242..e0b71a63450d 100644
--- a/print/kpdftool/Makefile
+++ b/print/kpdftool/Makefile
@@ -16,17 +16,13 @@ RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
USE_ZIP= yes
USE_QT4= qt3support moc_build porting_build qmake_build uic3_build
USE_GHOSTSCRIPT_RUN= yes
+USES= qmake
DESKTOP_ENTRIES= "KPDFTool" "${COMMENT}" "kpdftool" \
- "kpdftool" "Qt;Utility;" false
-
-NO_STAGE= yes
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
+ "kpdftool" "Qt;Utility;" true
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor ${STAGEDIR}${PREFIX}/share/icons/
.include <bsd.port.mk>