diff options
author | martymac <martymac@FreeBSD.org> | 2010-11-18 17:16:38 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2010-11-18 17:16:38 +0800 |
commit | 373e4975494ebf3fe3e111564f8e617952387966 (patch) | |
tree | ac07091186965d51f6e3b1aad754cc6ce614c6b1 | |
parent | e066b1b00d0f127536ab3bba5da020ed6fda873e (diff) | |
download | freebsd-ports-gnome-373e4975494ebf3fe3e111564f8e617952387966.tar.gz freebsd-ports-gnome-373e4975494ebf3fe3e111564f8e617952387966.tar.zst freebsd-ports-gnome-373e4975494ebf3fe3e111564f8e617952387966.zip |
- Add missing LICENSE
- Remove license text from installed documents
- Improve PORTDOCS handling
- Remove pkg-plist and use PLIST_FILES instead
Approved by: ehaupt (mentor)
-rw-r--r-- | graphics/pencil/Makefile | 11 | ||||
-rw-r--r-- | graphics/pencil/pkg-plist | 5 |
2 files changed, 8 insertions, 8 deletions
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%% |