aboutsummaryrefslogtreecommitdiff
path: root/mail/ftrack
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-01-10 09:03:18 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-01-10 09:03:18 +0000
commit92d0d120eb3eded8c7bafc068f3f08de5fd5ca6a (patch)
treed5c2051706057c2ddf05d2d3bb38ddddf2e551b2 /mail/ftrack
parent7f462571a7c41dc8cc6eb46b50dd76a54bfef4b9 (diff)
downloadports-92d0d120eb3eded8c7bafc068f3f08de5fd5ca6a.tar.gz
ports-92d0d120eb3eded8c7bafc068f3f08de5fd5ca6a.zip
Notes
Diffstat (limited to 'mail/ftrack')
-rw-r--r--mail/ftrack/Makefile4
-rw-r--r--mail/ftrack/files/patch-hpp::constant.hpp9
2 files changed, 2 insertions, 11 deletions
diff --git a/mail/ftrack/Makefile b/mail/ftrack/Makefile
index 57b1acc0dc82..006bff6acbac 100644
--- a/mail/ftrack/Makefile
+++ b/mail/ftrack/Makefile
@@ -8,6 +8,7 @@
PORTNAME= ftrack
PORTVERSION= 3.1
PORTEPOCH= 1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://ufm.kgb.ru/files/
DISTNAME= ftr${PORTVERSION:S/.//g}sr
@@ -32,8 +33,7 @@ pre-patch:
${REINPLACE_CMD} -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \
s@../../src/@src/@g; s@g\+\+@${CC}@g; \
s@-L../../../smapi -lsmapibsd@-L${LOCALBASE}/lib -lsmapi@g" ${WRKSRC}/MakeFiles/FreeBSD/Makefile
- ${REINPLACE_CMD} -e "s@PREFIXGOESHERE@${PREFIX}@g" ${FILESDIR}/patch-hpp::constant.hpp
- ${RM} ${FILESDIR}/patch-hpp::constant.hpp.bak
+ ${REINPLACE_CMD} -e "s@ftrack.cfg@${PREFIX}/etc/ftrack/ftrack.cfg@g" ${WRKSRC}/hpp/constant.hpp
.for DIR in MakeFiles/FreeBSD src hpp doc/eng samples/tpl
for FILE in ${WRKSRC}/${DIR}/*; do \
${TR} -d '\015' < $${FILE} > $${FILE}.new; \
diff --git a/mail/ftrack/files/patch-hpp::constant.hpp b/mail/ftrack/files/patch-hpp::constant.hpp
index fdd39439e652..1c225217a585 100644
--- a/mail/ftrack/files/patch-hpp::constant.hpp
+++ b/mail/ftrack/files/patch-hpp::constant.hpp
@@ -9,12 +9,3 @@
# elif defined(sun)
# define OsType "/SUN"
# elif defined(_AIX)
-@@ -38,7 +38,7 @@
- #define FTrackProductLo 0xff
- #define FTrackProductHi 0x0c
- #define Copyright "(C) 1998-2002 Fyodor Ustinov (2:5020/79)"
--#define DefaultConfig "ftrack.cfg"
-+#define DefaultConfig "/usr/local/etc/ftrack/ftrack.cfg"
-
- #ifdef UNIX
- #define MsgExtension ".msg"