aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-07-25 18:34:51 +0800
committerdanfe <danfe@FreeBSD.org>2008-07-25 18:34:51 +0800
commit229c8f816830b37e17583c9e2e6b569972396f86 (patch)
tree011e4bbd93247a877ceb70a89cca08df3f49a547 /comms
parent27849190924f77e6828d0a67316d8a8f3a6ed341 (diff)
downloadfreebsd-ports-gnome-229c8f816830b37e17583c9e2e6b569972396f86.tar.gz
freebsd-ports-gnome-229c8f816830b37e17583c9e2e6b569972396f86.tar.zst
freebsd-ports-gnome-229c8f816830b37e17583c9e2e6b569972396f86.zip
- Correct BROKEN statement, seems to be amd64-specific
- Take maintainership, I use it frequently - Canonicalize Makefile header - Utilize PLIST_FILES, PORTDOCS, PORTEXAMPLES - Respect NOPORTEXAMPLES - Cleanup installation routine
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile31
-rw-r--r--comms/kermit/pkg-plist16
2 files changed, 17 insertions, 30 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index 1eaabb0f45c1..deda3744d043 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: kermit
-# Date created: Oct 27, 1994
-# Whom: pst
+# New ports collection makefile for: C-Kermit
+# Date created: Oct 27, 1994
+# Whom: Paul Traina <pst@FreeBSD.org>
#
# $FreeBSD$
#
@@ -12,16 +12,19 @@ MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
ftp://ftp.icm.edu.pl/pub/kermit/archives/
DISTNAME= cku211
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= Serial and network communications package
USE_OPENSSL= yes
NO_WRKSUBDIR= yes
-MAN1= kermit.1
-
MAKEFILE= makefile
ALL_TARGET= krbmit
+PLIST_FILES= bin/kermit
+PORTDOCS= *
+PORTEXAMPLES= *
+MAN1= kermit.1
+
MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \
CFLAGS="${CFLAGS} -I${OPENSSLINC} \
-DBSD44 -DCK_NCURSES -DCK_NEWTERM \
@@ -34,8 +37,8 @@ MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 800037
-BROKEN= does not compile
+.if ${OSVERSION} >= 800037 && ${ARCH} == "amd64"
+BROKEN= does not compile on amd64
.endif
do-install:
@@ -44,15 +47,15 @@ do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ckaaaa.txt ${DOCSDIR}/READ.ME
- @for file in COPYING.TXT ckcbwr.txt ckccfg.txt ckcplm.txt \
- ckermit70.txt ckermit80.txt ckubwr.txt ckuins.txt ckututor.txt; \
- do \
- ${ECHO} "Installing ${DOCSDIR}/$${file} ..." ; \
- ${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCSDIR}; \
- done
+.for file in COPYING.TXT ckcbwr.txt ckccfg.txt ckcplm.txt ckermit70.txt \
+ ckermit80.txt ckubwr.txt ckuins.txt ckututor.txt
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
.endif
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc
${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc
+.endif
.include <bsd.port.post.mk>
diff --git a/comms/kermit/pkg-plist b/comms/kermit/pkg-plist
deleted file mode 100644
index a46dd3a7f0c5..000000000000
--- a/comms/kermit/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-@comment $FreeBSD$
-bin/kermit
-%%PORTDOCS%%%%DOCSDIR%%/COPYING.TXT
-%%PORTDOCS%%%%DOCSDIR%%/READ.ME
-%%PORTDOCS%%%%DOCSDIR%%/ckcbwr.txt
-%%PORTDOCS%%%%DOCSDIR%%/ckccfg.txt
-%%PORTDOCS%%%%DOCSDIR%%/ckcplm.txt
-%%PORTDOCS%%%%DOCSDIR%%/ckermit70.txt
-%%PORTDOCS%%%%DOCSDIR%%/ckermit80.txt
-%%PORTDOCS%%%%DOCSDIR%%/ckubwr.txt
-%%PORTDOCS%%%%DOCSDIR%%/ckuins.txt
-%%PORTDOCS%%%%DOCSDIR%%/ckututor.txt
-%%EXAMPLESDIR%%/dot.kermrc
-%%EXAMPLESDIR%%/dot.mykermrc
-@dirrm %%DOCSDIR%%
-@dirrm %%EXAMPLESDIR%%