diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-21 03:36:26 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-21 03:36:26 +0800 |
commit | 7c0a9d95f2c6d01e24bd257a6c3955d1bfcb9e37 (patch) | |
tree | 21013f68fac0313f282389b372abf91686dce66e | |
parent | 20ad381ef454df16106517ea55e7d7a36d586784 (diff) | |
download | freebsd-ports-gnome-7c0a9d95f2c6d01e24bd257a6c3955d1bfcb9e37.tar.gz freebsd-ports-gnome-7c0a9d95f2c6d01e24bd257a6c3955d1bfcb9e37.tar.zst freebsd-ports-gnome-7c0a9d95f2c6d01e24bd257a6c3955d1bfcb9e37.zip |
. GKERMIT_DOCDIR -> DOCSDIR;
. mute mkdir command;
. make use PORTDOCS and PLIST_FILES;
. remove pkg-plist (3 lines);
. trim Makefile headers.
-rw-r--r-- | comms/gkermit/Makefile | 14 | ||||
-rw-r--r-- | comms/gkermit/pkg-plist | 3 |
2 files changed, 5 insertions, 12 deletions
diff --git a/comms/gkermit/Makefile b/comms/gkermit/Makefile index e7fb0863adba..80ac3ee17bbd 100644 --- a/comms/gkermit/Makefile +++ b/comms/gkermit/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gkermit -# Date created: 8 Jan 2000 -# Whom: dom@happygiraffe.net -# +# Created by: dom@happygiraffe.net # $FreeBSD$ -# PORTNAME= gkermit PORTVERSION= 1.0 @@ -16,18 +12,18 @@ COMMENT= File transfer utility using the kermit protocol NO_WRKSUBDIR= yes MAN1= gkermit.1 +PORTDOCS= gkermit.txt +PLIST_FILES= bin/gkermit ALL_TARGET= posix -GKERMIT_DOCDIR= ${PREFIX}/share/doc/gkermit - post-extract: cd ${WRKSRC} && ${MV} makefile Makefile do-install: - ${MKDIR} ${GKERMIT_DOCDIR} + @${MKDIR} ${DOCSDIR} ${INSTALL_PROGRAM} ${WRKSRC}/gkermit ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/gkermit.nr ${PREFIX}/man/man1/gkermit.1 - ${INSTALL_DATA} ${WRKSRC}/README ${GKERMIT_DOCDIR}/gkermit.txt + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/gkermit.txt .include <bsd.port.mk> diff --git a/comms/gkermit/pkg-plist b/comms/gkermit/pkg-plist deleted file mode 100644 index 43a1fb1a6de5..000000000000 --- a/comms/gkermit/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/gkermit -%%DOCSDIR%%/gkermit.txt -@dirrm %%DOCSDIR%% |