aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ftrack
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-09-28 02:17:09 +0800
committerleeym <leeym@FreeBSD.org>2004-09-28 02:17:09 +0800
commit6fb7c3974760d5e47c8b14fad8c8d71a774dd72a (patch)
tree0d4b73e8b380d81c9e29ebe4f9ec204470f5df5a /mail/ftrack
parentc7df923f68d02f2a467af817eecad1640b5ff0a2 (diff)
downloadfreebsd-ports-gnome-6fb7c3974760d5e47c8b14fad8c8d71a774dd72a.tar.gz
freebsd-ports-gnome-6fb7c3974760d5e47c8b14fad8c8d71a774dd72a.tar.zst
freebsd-ports-gnome-6fb7c3974760d5e47c8b14fad8c8d71a774dd72a.zip
- add USE_GCC=2.95 and unbreak this port
- utilize PORTDOCS PR: 72108 Submitted by: leeym Approved by: portmgr (marcus)
Diffstat (limited to 'mail/ftrack')
-rw-r--r--mail/ftrack/Makefile15
-rw-r--r--mail/ftrack/pkg-plist4
2 files changed, 7 insertions, 12 deletions
diff --git a/mail/ftrack/Makefile b/mail/ftrack/Makefile
index 89c76a07b8b3..bf8d5f05fb26 100644
--- a/mail/ftrack/Makefile
+++ b/mail/ftrack/Makefile
@@ -24,12 +24,9 @@ USE_GMAKE= yes
ALL_TARGET= ftrack
MAKEFILE= ${WRKSRC}/MakeFiles/FreeBSD/Makefile
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
+USE_GCC= 2.95
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
+PORTDOCS= ftrack.faq readme report.err
pre-patch:
${REINPLACE_CMD} -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \
@@ -49,11 +46,13 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ftrack ${PREFIX}/sbin
${MKDIR} ${PREFIX}/etc/ftrack
${INSTALL_DATA} ${WRKSRC}/samples/node.cfg ${PREFIX}/etc/ftrack/ftrack.cfg-dist
- ${MKDIR} ${PREFIX}/share/doc/ftrack
- ${INSTALL_DATA} ${WRKSRC}/doc/eng/* ${PREFIX}/share/doc/ftrack
${INSTALL_DATA} ${WRKSRC}/samples/tpl/* ${PREFIX}/etc/ftrack
.for FILE in alt2koi.tbl koi2alt.tbl
${INSTALL_DATA} ${WRKSRC}/samples/${FILE} ${PREFIX}/etc/ftrack
.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/eng/* ${DOCSDIR}
+.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/ftrack/pkg-plist b/mail/ftrack/pkg-plist
index 14f15ce58688..f81dda7d5ab2 100644
--- a/mail/ftrack/pkg-plist
+++ b/mail/ftrack/pkg-plist
@@ -6,8 +6,4 @@ etc/ftrack/loop.tpl
etc/ftrack/alt2koi.tbl
etc/ftrack/koi2alt.tbl
sbin/ftrack
-share/doc/ftrack/ftrack.faq
-share/doc/ftrack/readme
-share/doc/ftrack/report.err
@dirrm etc/ftrack
-@dirrm share/doc/ftrack