aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-17 22:03:17 +0800
committergahr <gahr@FreeBSD.org>2014-02-17 22:03:17 +0800
commitdbf8d054e20422da2cd697e1d19ab16e805a68d3 (patch)
tree22913cb68ed94c4cdaa756a1ddceca072c863c97 /deskutils
parentedee893ba07f3e597c20a2c714dad780b62ee81d (diff)
downloadfreebsd-ports-gnome-dbf8d054e20422da2cd697e1d19ab16e805a68d3.tar.gz
freebsd-ports-gnome-dbf8d054e20422da2cd697e1d19ab16e805a68d3.tar.zst
freebsd-ports-gnome-dbf8d054e20422da2cd697e1d19ab16e805a68d3.zip
- STAGE-clean
- Convert to USES=tk
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/ical/Makefile8
-rw-r--r--deskutils/ical/files/patch-ac16
-rw-r--r--deskutils/ical/pkg-plist1
3 files changed, 19 insertions, 6 deletions
diff --git a/deskutils/ical/Makefile b/deskutils/ical/Makefile
index 17f5b1a4de98..481eea4fdc00 100644
--- a/deskutils/ical/Makefile
+++ b/deskutils/ical/Makefile
@@ -15,22 +15,20 @@ COMMENT= Calendar application
LICENSE= GPLv2
-USE_TK= yes
+USES= tk
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclconfig=${TCL_LIBDIR} \
--with-tclhdir=${TCL_INCLUDEDIR} \
--with-tclsh=${TCLSH} \
--with-tkconfig=${TK_LIBDIR} \
--with-tkhdir=${TK_INCLUDEDIR}
+MAKE_ENV+= STAGEDIR=${STAGEDIR}
-MAN1= ical.1
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,tcl->result,Tcl_GetStringResult(tcl),' \
${WRKSRC}/ical.C
post-install:
- @${STRIP_CMD} ${PREFIX}/bin/${DISTNAME}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${DISTNAME}
.include <bsd.port.mk>
diff --git a/deskutils/ical/files/patch-ac b/deskutils/ical/files/patch-ac
index 41298bcc2885..79b9407e177a 100644
--- a/deskutils/ical/files/patch-ac
+++ b/deskutils/ical/files/patch-ac
@@ -1,5 +1,19 @@
--- Makefile.in.orig 1997-06-04 18:09:59.000000000 +0200
-+++ Makefile.in 2008-04-22 17:31:33.000000000 +0200
++++ Makefile.in 2014-02-17 15:05:23.000000000 +0100
+@@ -14,10 +14,10 @@
+ CONFIGURE_IN = @MFILES_IN@
+ CONFFILES = $(srcdir)/configure.in
+
+- BINDIR = $(exec_prefix)/bin
+- LIBDIR = $(prefix)/lib
++ BINDIR = $(STAGEDIR)$(exec_prefix)/bin
++ LIBDIR = $(STAGEDIR)$(prefix)/lib
+ ILIBDIR = $(LIBDIR)/ical/v@ICAL_VERSION@
+- MANDIR = $(prefix)/man
++ MANDIR = $(STAGEDIR)$(prefix)/man
+
+ CC = @CC@
+ CXX = @CXX@
@@ -59,14 +59,12 @@
# Tiny bundled executable uses shared versions of tcl/tk libraries
TINY_BLIBS = $(LIBS)
diff --git a/deskutils/ical/pkg-plist b/deskutils/ical/pkg-plist
index fe1de9b96413..394c7d28d307 100644
--- a/deskutils/ical/pkg-plist
+++ b/deskutils/ical/pkg-plist
@@ -1,5 +1,6 @@
bin/ical
bin/ical-2.2
+man/man1/ical.1.gz
lib/ical/v2.2/actions.tcl
lib/ical/v2.2/alarm.tcl
lib/ical/v2.2/apptlist.tcl