diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 04:30:31 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 04:30:31 +0000 |
commit | fd37d8821fdc48edb0c489017447cb8ee865c5b9 (patch) | |
tree | e9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/telbook | |
parent | 48c429ec3a76441cc6a3dba681f911b9b7eccb7f (diff) | |
download | ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.tar.gz ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.zip |
Cleanup unmaintained ports in the misc category:
- Trim Header
- Convert to OptionsNG
- Prefer DISTNAME to DISTFILES
- Reorder variables
- Fix comments (don't include leading article)
- @unexec rm must not cause failure
- Tabs, not spaces
- Single space for WWW
- Pet portlint
- etc.
In a few cases the option DOCS was used to control installation into EXAMPLEDIR.
I opted to keep the existing logic of the port in these cases.
Reviewed by: koobs, ashish
Notes
Notes:
svn path=/head/; revision=315192
Diffstat (limited to 'misc/telbook')
-rw-r--r-- | misc/telbook/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/misc/telbook/Makefile b/misc/telbook/Makefile index c90d6dd5effe..66933c3d7da9 100644 --- a/misc/telbook/Makefile +++ b/misc/telbook/Makefile @@ -1,7 +1,4 @@ -# New ports collection makefile for: telbook -# Date created: 19 May 2003 -# Whom: Kirill Ponomarew <ponomarew@oberon.net> -# +# Created by: Kirill Ponomarew <ponomarew@oberon.net> # $FreeBSD$ PORTNAME= telbook @@ -21,9 +18,11 @@ USE_BZIP2= yes PORTDOCS= README PLIST_FILES= bin/telbook +.include <bsd.port.options.mk> + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/telbook ${PREFIX}/bin -.ifndef (NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif |