summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
Diffstat (limited to 'biology')
-rw-r--r--biology/gperiodic/Makefile13
-rw-r--r--biology/gperiodic/distinfo2
-rw-r--r--biology/gperiodic/files/patch-aa14
-rw-r--r--biology/gperiodic/pkg-plist3
4 files changed, 25 insertions, 7 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index 2a9540aec05a..a31d1f6c424d 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -6,28 +6,31 @@
#
PORTNAME= gperiodic
-PORTVERSION= 1.2.2
+PORTVERSION= 1.2.6
CATEGORIES= biology
MASTER_SITES= ftp://ftp.seul.org/pub/gperiodic/
MAINTAINER= ports@FreeBSD.org
-WRKSRC= ${WRKDIR}/gperiodic
+WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
-USE_GMAKE= yes
USE_GTK= yes
+USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= gperiodic.1
+post-extract:
+ @${RM} -f ${WRKSRC}/config.cache
+
post-install:
- ${INSTALL_MAN} ${WRKSRC}/man/gperiodic.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/gperiodic.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gperiodic
-.for file in AUTHORS COPYING Changes README
+.for file in AUTHORS Changes README
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gperiodic
.endfor
.endif
diff --git a/biology/gperiodic/distinfo b/biology/gperiodic/distinfo
index 70ff9f9e0f2c..846cf58a724c 100644
--- a/biology/gperiodic/distinfo
+++ b/biology/gperiodic/distinfo
@@ -1 +1 @@
-MD5 (gperiodic-1.2.2.tar.gz) = 243d70c5665ccb105314a28114f8a1a0
+MD5 (gperiodic-1.2.6.tar.gz) = 719465978b1d6cd98b882e67f6943cfe
diff --git a/biology/gperiodic/files/patch-aa b/biology/gperiodic/files/patch-aa
new file mode 100644
index 000000000000..20540497251f
--- /dev/null
+++ b/biology/gperiodic/files/patch-aa
@@ -0,0 +1,14 @@
+--- src/gperiodic.c.orig Wed Sep 8 22:42:48 1999
++++ src/gperiodic.c Wed Dec 20 03:25:27 2000
+@@ -484,10 +484,7 @@
+ textdomain (PACKAGE);
+ bindtextdomain(PACKAGE, GPERIODIC_LOCALE_DIR);
+
+- lang = getenv("LANG");
+- if( NULL == lang ) {
+- lang = "en";
+- }
++ gtk_set_locale();
+
+ gtk_init(&argc,&argv);
+
diff --git a/biology/gperiodic/pkg-plist b/biology/gperiodic/pkg-plist
index 2943ce23caaf..f0d43e8ee01e 100644
--- a/biology/gperiodic/pkg-plist
+++ b/biology/gperiodic/pkg-plist
@@ -1,10 +1,11 @@
bin/gperiodic
share/doc/gperiodic/AUTHORS
-share/doc/gperiodic/COPYING
share/doc/gperiodic/Changes
share/doc/gperiodic/README
share/locale/de/LC_MESSAGES/gperiodic.mo
share/locale/es/LC_MESSAGES/gperiodic.mo
share/locale/fr/LC_MESSAGES/gperiodic.mo
+share/locale/it/LC_MESSAGES/gperiodic.mo
+share/locale/nl/LC_MESSAGES/gperiodic.mo
share/locale/pt/LC_MESSAGES/gperiodic.mo
@dirrm share/doc/gperiodic