aboutsummaryrefslogtreecommitdiff
path: root/mail/freepops
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-07-24 21:54:04 +0000
committerSimon Barner <barner@FreeBSD.org>2005-07-24 21:54:04 +0000
commit576e311b1e6552d03af83f4d562bd2bb5e2bdb89 (patch)
treed1b7351dfd0e26f8185227f0fd673608371de89d /mail/freepops
parent076a3b74daeabd5c7d10c27ccc74ef2bafed4e0a (diff)
downloadports-576e311b1e6552d03af83f4d562bd2bb5e2bdb89.tar.gz
ports-576e311b1e6552d03af83f4d562bd2bb5e2bdb89.zip
Notes
Diffstat (limited to 'mail/freepops')
-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%%