aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-07-25 05:54:04 +0800
committerbarner <barner@FreeBSD.org>2005-07-25 05:54:04 +0800
commitac6826d25e6b0b52d62bc7851fd1d0532e6f71b1 (patch)
tree95ea03ec0d7c8ad775d0fa4323f37f3a799a0086
parentd52c1d4673ea2dea67e4ea58abeec0d263832d1a (diff)
downloadfreebsd-ports-gnome-ac6826d25e6b0b52d62bc7851fd1d0532e6f71b1.tar.gz
freebsd-ports-gnome-ac6826d25e6b0b52d62bc7851fd1d0532e6f71b1.tar.zst
freebsd-ports-gnome-ac6826d25e6b0b52d62bc7851fd1d0532e6f71b1.zip
- Update to 0.0.31
PR: ports/82927 Submitted by: Filippo Natali <filippo.natali@gmail.com> (maintainer)
-rw-r--r--mail/freepops/Makefile10
-rw-r--r--mail/freepops/distinfo4
-rw-r--r--mail/freepops/files/patch-modules_src_Makefile.template11
-rw-r--r--mail/freepops/pkg-plist6
4 files changed, 24 insertions, 7 deletions
diff --git a/mail/freepops/Makefile b/mail/freepops/Makefile
index 0502a8f9c324..93b2b2829aa1 100644
--- a/mail/freepops/Makefile
+++ b/mail/freepops/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= freepops
-PORTVERSION= 0.0.27
+PORTVERSION= 0.0.31
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freepops
@@ -24,13 +24,14 @@ HAS_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_SCRIPT= configure.sh
CONFIGURE_ARGS= fbsd
+CFLAGS+= -I${OPENSSLBASE}/include ${PTHREAD_CFLAGS}
post-patch:
@${REINPLACE_CMD} -e \
's|\(WHERE=\)/usr/local|\1${PREFIX}|; \
s|/usr/local|${LOCALBASE}|; \
s|^CC=gcc||; \
- s|-O2 -g3|${CFLAGS}|' \
+ s|-O2 -g3 -march=i486|${CFLAGS}|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e \
's|$$(PREFIX)|${PREFIX}/|; \
@@ -39,9 +40,8 @@ post-patch:
s|\(cp config\.lua\) .*|\1 ${PREFIX}/etc/freepops/config.lua.sample|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
- 's|\($$(CFLAGS)\)|\1 ${PTHREAD_CFLAGS}|; \
- s|\($$(LDFLAGS)\)|\1 ${PTHREAD_LIBS}|' \
- ${WRKSRC}/modules/src/luafull/Makefile
+ 's|-pthread|${PTHREAD_LIBS}|g'\
+ ${WRKSRC}/src/Makefile
post-install:
@${CHMOD} ${SHAREMODE} ${DATADIR}/lua/*.lua
diff --git a/mail/freepops/distinfo b/mail/freepops/distinfo
index 5cd87af40a02..a9f5c1d92603 100644
--- a/mail/freepops/distinfo
+++ b/mail/freepops/distinfo
@@ -1,2 +1,2 @@
-MD5 (freepops-0.0.27.tar.gz) = f4842a2666ec8e439fd08e1f38a46d4e
-SIZE (freepops-0.0.27.tar.gz) = 1851699
+MD5 (freepops-0.0.31.tar.gz) = ff1d7b2553dd4092ba483d96a3917371
+SIZE (freepops-0.0.31.tar.gz) = 1848031
diff --git a/mail/freepops/files/patch-modules_src_Makefile.template b/mail/freepops/files/patch-modules_src_Makefile.template
new file mode 100644
index 000000000000..f82bc9f535d3
--- /dev/null
+++ b/mail/freepops/files/patch-modules_src_Makefile.template
@@ -0,0 +1,11 @@
+--- modules/src/Makefile.template.orig Sun Jul 24 23:43:25 2005
++++ modules/src/Makefile.template Sun Jul 24 23:43:47 2005
+@@ -77,7 +77,7 @@
+
+ .%.d:%.c
+ $(H)echo " building dep for $<"
+- $(H)$(CC) -I. -I$(PREFIX)/include -MM $< > $@;
++ $(H)$(CC) ${CFLAGS} -MM $< > $@;
+
+ .%.d:%.pkg
+ $(H)echo " building dep for $<"
diff --git a/mail/freepops/pkg-plist b/mail/freepops/pkg-plist
index 2b5fb2c6d38f..b1ee2330e65c 100644
--- a/mail/freepops/pkg-plist
+++ b/mail/freepops/pkg-plist
@@ -33,6 +33,12 @@ etc/freepops/config.lua.sample
%%DATADIR%%/lua/tre.lua
%%DATADIR%%/lua/xml2table.lua
%%DATADIR%%/lua/yahoo.lua
+%%DATADIR%%/lua/xml2tex.lua
+%%DATADIR%%/lua/version_comparer.lua
+%%DATADIR%%/lua/updater.lua
+%%DATADIR%%/lua/netscape.lua
+%%DATADIR%%/lua/mail2world.lua
+%%DATADIR%%/lua/juno.lua
@dirrm %%DATADIR%%/lua_unofficial
@dirrm %%DATADIR%%/lua
@dirrm %%DATADIR%%