aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-06-23 21:09:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-06-23 21:09:10 +0800
commit1b01fdc494c6df220b571212d62511283ac7dcf8 (patch)
tree49a99fb0aa56ef149329a9976754ff86f856577e /deskutils
parent12f38a67df7b221cafc993c2d0a5dd2dd1f210d5 (diff)
downloadfreebsd-ports-graphics-1b01fdc494c6df220b571212d62511283ac7dcf8.tar.gz
freebsd-ports-graphics-1b01fdc494c6df220b571212d62511283ac7dcf8.tar.zst
freebsd-ports-graphics-1b01fdc494c6df220b571212d62511283ac7dcf8.zip
- Clarify LICENSE
- Add LICENSE_FILE - Switch to options helpers
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/qtm/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile
index 816e7dcedf2..1edfc9cd8a0 100644
--- a/deskutils/qtm/Makefile
+++ b/deskutils/qtm/Makefile
@@ -9,7 +9,8 @@ MASTER_SITES= SF/catkin/${PORTNAME}-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Blog management application based on Qt 4
-LICENSE= GPLv2
+LICENSE= GPLv2 # only
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake tar:bzip2
USE_QT4= corelib dbus gui network xml \
@@ -23,7 +24,7 @@ PORTDOCS= Changelog INSTALL README
PLIST_FILES= bin/qtm man/man1/qtm.1.gz share/applications/qtm.desktop \
share/pixmaps/qtm-logo1.png
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
@@ -33,10 +34,10 @@ post-patch:
/^Categories/s|;X-.*;|;| ; \
/^# /d' ${WRKSRC}/qtm-desktop.sh
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in Changelog INSTALL README
- (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>