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/crosspad/Makefile | |
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/crosspad/Makefile')
-rw-r--r-- | misc/crosspad/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/crosspad/Makefile b/misc/crosspad/Makefile index 1fcca06ac2ca..0e56af22880b 100644 --- a/misc/crosspad/Makefile +++ b/misc/crosspad/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: crosspad -# Date created: 23 September 1998 -# Whom: itojun@itojun.org -# +# Created by: itojun@itojun.org # $FreeBSD$ -# PORTNAME= crosspad PORTVERSION= 19991202 @@ -21,8 +17,10 @@ MAN1= crosspad2ps.1 crosspad2eps.1 crosspad2tgif.1 crosspad2idraw.1 \ DOCS= PROTOCOL README.english README.japanese +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${PREFIX}/share/doc/crosspad for i in $(DOCS); do \ ${INSTALL_DATA} ${WRKSRC}/../$$i ${PREFIX}/share/doc/crosspad; \ |