aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/gcursor/Makefile14
-rw-r--r--x11/gcursor/distinfo4
-rw-r--r--x11/gcursor/pkg-plist7
3 files changed, 21 insertions, 4 deletions
diff --git a/x11/gcursor/Makefile b/x11/gcursor/Makefile
index a38f4384e1a4..c1d10d04c103 100644
--- a/x11/gcursor/Makefile
+++ b/x11/gcursor/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gcursor
-PORTVERSION= 0.05
+PORTVERSION= 0.06
CATEGORIES= x11 gnome
MASTER_SITES= http://download.qballcow.nl/programs/gcursor/
@@ -18,14 +18,24 @@ RUN_DEPENDS= file-roller:${PORTSDIR}/archivers/fileroller
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnometarget intlhack libgnomeui
-GNU_CONFIGURE= yes
+USE_LIBTOOL_VER=13
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+DOCS= AUTHORS COPYING ChangeLog INSTALL TODO
+
post-patch:
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/src/gcursor.c
@${REINPLACE_CMD} -e 's|share/applications|share/gnome/capplets|g' \
${WRKSRC}/data/Makefile.in
+.ifndef (NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>
diff --git a/x11/gcursor/distinfo b/x11/gcursor/distinfo
index 9c0be4ecc43c..4830a3d3c0aa 100644
--- a/x11/gcursor/distinfo
+++ b/x11/gcursor/distinfo
@@ -1,2 +1,2 @@
-MD5 (gcursor-0.05.tar.gz) = 945fb7548eb412a1bcb5dd83a7287fb4
-SIZE (gcursor-0.05.tar.gz) = 97544
+MD5 (gcursor-0.06.tar.gz) = 80cb9f3da98b595d298731aafc6c1384
+SIZE (gcursor-0.06.tar.gz) = 142932
diff --git a/x11/gcursor/pkg-plist b/x11/gcursor/pkg-plist
index 30952d358db5..fe322ffbb20d 100644
--- a/x11/gcursor/pkg-plist
+++ b/x11/gcursor/pkg-plist
@@ -1,5 +1,12 @@
bin/gcursor
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/TODO
share/gnome/capplets/gcursor.desktop
share/gnome/gcursor/gcursor.glade
share/locale/de/LC_MESSAGES/gcursor.mo
+share/locale/es/LC_MESSAGES/gcursor.mo
@dirrm share/gnome/gcursor
+%%PORTDOCS%%@dirrm %%DOCSDIR%%