aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-13 01:53:22 +0800
committerleeym <leeym@FreeBSD.org>2004-10-13 01:53:22 +0800
commit08177cd7d153b81cdbc90638819a72d1e81437cf (patch)
treefd7fc0acc7772a80ca773b6b12375c6bd84bf4eb /net
parent38c96c42e188eb799def7d5ee2d2d1f93105cee4 (diff)
downloadfreebsd-ports-gnome-08177cd7d153b81cdbc90638819a72d1e81437cf.tar.gz
freebsd-ports-gnome-08177cd7d153b81cdbc90638819a72d1e81437cf.tar.zst
freebsd-ports-gnome-08177cd7d153b81cdbc90638819a72d1e81437cf.zip
- add USE_GCC=2.95 and unbreak this port
- utilize INFO - cosmetic fixes which makes portlint happier PR: 71820 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'net')
-rw-r--r--net/click/Makefile24
-rw-r--r--net/click/pkg-plist18
2 files changed, 16 insertions, 26 deletions
diff --git a/net/click/Makefile b/net/click/Makefile
index 6fa5e88b4c93..45111680ece1 100644
--- a/net/click/Makefile
+++ b/net/click/Makefile
@@ -1,4 +1,4 @@
-# Updated ports collection makefile for: click
+# Ports collection makefile for: click
# Date created: 3 Nov 2001
# Whom: gnn
#
@@ -16,8 +16,10 @@ COMMENT= The Click Modular Router
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_GCC= 2.95
MANCOMPRESSED= no
+INFO= click
MAN1= click.1 click-align.1 click-combine.1 click-devirtualize.1 \
click-fastclassifier.1 click-flatten.1 click-install.1 \
click-mkmindriver.1 click-uncombine.1 click-undead.1 \
@@ -68,10 +70,6 @@ CONFDIR= ${PREFIX}/etc/click/conf
BROKEN= "Does not compile on alpha 4.x"
.endif
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
post-install:
@${STRIP_CMD} ${PREFIX}/bin/click
@${STRIP_CMD} ${PREFIX}/bin/click-align
@@ -97,13 +95,13 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/conf/test2.click ${CONFDIR}
${INSTALL_DATA} ${WRKSRC}/conf/test3.click ${CONFDIR}
${INSTALL_DATA} ${WRKSRC}/conf/udpgen.click ${CONFDIR}
- @echo
- @echo "----------------------------------------------------"
- @echo "Install complete, to try it out do the following:"
- @echo "cd ${PREFIX}/etc/click/conf"
- @echo "click test.click"
- @echo "You should see some output. Now go read the papers and manual."
- @echo "----------------------------------------------------"
- @echo
+ @${ECHO_CMD}
+ @${ECHO_CMD} "----------------------------------------------------"
+ @${ECHO_CMD} "Install complete, to try it out do the following:"
+ @${ECHO_CMD} "cd ${PREFIX}/etc/click/conf"
+ @${ECHO_CMD} "click test.click"
+ @${ECHO_CMD} "You should see some output. Now go read the papers and manual."
+ @${ECHO_CMD} "----------------------------------------------------"
+ @${ECHO_CMD}
.include <bsd.port.post.mk>
diff --git a/net/click/pkg-plist b/net/click/pkg-plist
index ec7a32459878..cb6145f64472 100644
--- a/net/click/pkg-plist
+++ b/net/click/pkg-plist
@@ -94,21 +94,13 @@ include/clicktool/lexertinfo.hh
include/clicktool/processingt.hh
include/clicktool/routert.hh
include/clicktool/toolutils.hh
-@unexec install-info --delete %D/info/click.info %D/info/dir
-info/click.info
-info/click.info-1
-info/click.info-2
-info/click.info-3
-info/click.info-4
-info/click.info-5
-@exec install-info --section="Click Modular Router" --entry="* click: (click). Click Modular Router" %D/info/click.info %D/info/dir
-@unexec rm -rf %D/etc/click
+@unexec rm -rf %D/etc/click 2>&1 >/dev/null || true
lib/libclick.a
lib/libclicktool.a
-share/click/elementmap
-share/click/srcdir
-share/click/src
+%%DATADIR%%/elementmap
+%%DATADIR%%/srcdir
+%%DATADIR%%/src
@dirrm include/click/standard
@dirrm include/click
@dirrm include/clicktool
-@dirrm share/click
+@dirrm %%DATADIR%%