From d911a04f66e99d3f6d32c6f935925eb1e4ab4a1e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 23 Jun 2016 13:09:10 +0000 Subject: [PATCH] - Clarify LICENSE - Add LICENSE_FILE - Switch to options helpers --- deskutils/qtm/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile index 816e7dcedf21..1edfc9cd8a01 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