aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-16 22:54:52 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-16 22:54:52 +0000
commit2d6396bc61afae8c053040133211ad8ec701efd4 (patch)
tree0a1021e873f58abd7b79a5f89561a6fb1c1ccddf /deskutils
parent9dea31bbac7c7ba2a213cd79d951c21b7a4860ef (diff)
downloadports-2d6396bc61afae8c053040133211ad8ec701efd4.tar.gz
ports-2d6396bc61afae8c053040133211ad8ec701efd4.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/pal/Makefile13
-rw-r--r--deskutils/pal/distinfo4
-rw-r--r--deskutils/pal/files/patch-src-Makefile11
-rw-r--r--deskutils/pal/pkg-plist1
4 files changed, 18 insertions, 11 deletions
diff --git a/deskutils/pal/Makefile b/deskutils/pal/Makefile
index 25091c15c8f4..20ca0b56ac02 100644
--- a/deskutils/pal/Makefile
+++ b/deskutils/pal/Makefile
@@ -2,16 +2,15 @@
# $FreeBSD$
PORTNAME= pal
-PORTVERSION= 0.3.4
-PORTREVISION= 6
+PORTVERSION= 0.4.3
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}cal/${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= h.skuhra@gmail.com
-COMMENT= A calendar application
+COMMENT= Calendar application
-USES= pkgconfig gettext
+USES= pkgconfig gettext gmake
USE_GNOME= glib20
USE_GMAKE= yes
ALL_TARGET=
@@ -21,12 +20,8 @@ MAN1= pal.1
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libreadline.so.6)
-LIB_DEPENDS= readline.6:${PORTSDIR}/devel/readline
-.endif
-
post-patch:
- @${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g" ${WRKSRC}/Makefile.defs
+ @${REINPLACE_CMD} -e "s,prefix = /usr,prefix = ${PREFIX},g;s,^CC,#CC,g" ${WRKSRC}/Makefile.defs
post-build:
${REINPLACE_CMD} -e "s,VERSION,${PORTVERSION},g" ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pal.1.template
diff --git a/deskutils/pal/distinfo b/deskutils/pal/distinfo
index 014db5572698..552fb3c14a4d 100644
--- a/deskutils/pal/distinfo
+++ b/deskutils/pal/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pal-0.3.4.tgz) = 0408441199b64e5c1c2e28a9ae920ad2f35523ad04c59759279520e3c236a0b9
-SIZE (pal-0.3.4.tgz) = 109125
+SHA256 (pal-0.4.3.tgz) = ce470cb7be76522ff58cd0325ad7817b6cc2132a5e0cea55de8c9eb63b54551c
+SIZE (pal-0.4.3.tgz) = 130865
diff --git a/deskutils/pal/files/patch-src-Makefile b/deskutils/pal/files/patch-src-Makefile
new file mode 100644
index 000000000000..da1d801d4110
--- /dev/null
+++ b/deskutils/pal/files/patch-src-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2008-07-28 18:16:23.000000000 +0200
++++ Makefile 2013-09-12 23:52:39.000000000 +0200
+@@ -3,7 +3,7 @@
+ include Makefile.defs
+
+ INCLDIR = -I${prefix}/include `pkg-config --cflags glib-2.0`
+-LIBDIR =
++LIBDIR = -L/usr/lib
+ LIBS = `pkg-config --libs glib-2.0` -lreadline -lncurses
+
+ SRC = main.c colorize.c output.c input.c event.c rl.c html.c latex.c \
diff --git a/deskutils/pal/pkg-plist b/deskutils/pal/pkg-plist
index 06bd9f7f592a..9341c1a216b5 100644
--- a/deskutils/pal/pkg-plist
+++ b/deskutils/pal/pkg-plist
@@ -1,5 +1,6 @@
bin/pal
%%DATADIR%%/australia.pal
+%%DATADIR%%/austria.pal
%%DATADIR%%/birth-death.pal
%%DATADIR%%/christian.pal
%%DATADIR%%/computer.pal