From 373e4975494ebf3fe3e111564f8e617952387966 Mon Sep 17 00:00:00 2001 From: martymac Date: Thu, 18 Nov 2010 09:16:38 +0000 Subject: - Add missing LICENSE - Remove license text from installed documents - Improve PORTDOCS handling - Remove pkg-plist and use PLIST_FILES instead Approved by: ehaupt (mentor) --- graphics/pencil/Makefile | 11 ++++++++--- graphics/pencil/pkg-plist | 5 ----- 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 graphics/pencil/pkg-plist (limited to 'graphics/pencil') diff --git a/graphics/pencil/Makefile b/graphics/pencil/Makefile index 9b2739c04868..bcb2d5c329ba 100644 --- a/graphics/pencil/Makefile +++ b/graphics/pencil/Makefile @@ -7,7 +7,7 @@ PORTNAME= pencil PORTVERSION= 0.4.4b -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}-planner/Pencil/${PORTVERSION}eta DISTNAME= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFFIX} @@ -25,6 +25,8 @@ LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming \ pcre:${PORTSDIR}/devel/pcre \ drm:${PORTSDIR}/graphics/libdrm +LICENSE= GPLv2 + USE_ZIP= yes USE_GETTEXT= yes USE_GNOME= glib20 @@ -35,6 +37,9 @@ USE_XORG= xi xrender xrandr xfixes xcursor xinerama xext x11 xau xdmcp \ USE_GL= gl glu WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source +PLIST_FILES= bin/pencil +PORTDOCS= README TODO + do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} -unix PREFIX=${PREFIX} \ @@ -50,8 +55,8 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${PREFIX}/bin/pencil .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -.for file in LICENSE.TXT README TODO - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor .endif diff --git a/graphics/pencil/pkg-plist b/graphics/pencil/pkg-plist deleted file mode 100644 index 9710d820f720..000000000000 --- a/graphics/pencil/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/pencil -%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit