aboutsummaryrefslogtreecommitdiff
path: root/graphics/pencil
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2010-11-18 09:16:38 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2010-11-18 09:16:38 +0000
commit7b6496ec2ced16de71f4ac58df6a89b47f9daf56 (patch)
tree2792d825573ec4fbb75a2e407a9a4a40c61b96f5 /graphics/pencil
parenta49ce281c1121eb04ffb756a9f90deba40151b22 (diff)
downloadports-7b6496ec2ced16de71f4ac58df6a89b47f9daf56.tar.gz
ports-7b6496ec2ced16de71f4ac58df6a89b47f9daf56.zip
Notes
Diffstat (limited to 'graphics/pencil')
-rw-r--r--graphics/pencil/Makefile11
-rw-r--r--graphics/pencil/pkg-plist5
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%%