aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-18 08:31:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-18 08:31:22 +0800
commitb83952849675c2345975964fd3c37d177aa038ef (patch)
treea3b2ee7195c62de01f6e90e455568943cb4b48e3
parent6439447c7b73bdfd7a82d04e3518ab68321a5e60 (diff)
downloadfreebsd-ports-gnome-b83952849675c2345975964fd3c37d177aa038ef.tar.gz
freebsd-ports-gnome-b83952849675c2345975964fd3c37d177aa038ef.tar.zst
freebsd-ports-gnome-b83952849675c2345975964fd3c37d177aa038ef.zip
- Support staging
- Add categories to desktop file
-rw-r--r--sysutils/tkdvd/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/sysutils/tkdvd/Makefile b/sysutils/tkdvd/Makefile
index b29a6f49ba2b..6dd076b35e7d 100644
--- a/sysutils/tkdvd/Makefile
+++ b/sysutils/tkdvd/Makefile
@@ -26,10 +26,9 @@ DESKTOP_ENTRIES="TkDVD" \
"Burn CD/DVD" \
"tkdvd" \
"tkdvd" \
- "" \
+ "AudioVideo;DiscBurning;" \
true
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -43,13 +42,11 @@ do-build:
cd ${WRKSRC} && ${TCLSH} install.tcl
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/tkdvd-install.sh ${PREFIX}/bin/tkdvd
+ ${INSTALL_SCRIPT} ${WRKSRC}/tkdvd-install.sh ${STAGEDIR}${PREFIX}/bin/tkdvd
${INSTALL_DATA} ${WRKSRC}/icons/tkdvd-2-48.png \
- ${PREFIX}/share/pixmaps/tkdvd.png
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${STAGEDIR}${PREFIX}/share/pixmaps/tkdvd.png
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${WRKSRC}/doc/c* \
- ${DOCSDIR}
-.endif
+ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>