diff options
author | eadler <eadler@FreeBSD.org> | 2013-03-25 12:30:31 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-03-25 12:30:31 +0800 |
commit | b188c769f2650f1a4c596b60d43f25ba20eed016 (patch) | |
tree | e9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/terraform | |
parent | 6441d65203b3635b4c310c9e76e9296880cb7826 (diff) | |
download | freebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.tar.gz freebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.tar.zst freebsd-ports-gnome-b188c769f2650f1a4c596b60d43f25ba20eed016.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
Diffstat (limited to 'misc/terraform')
-rw-r--r-- | misc/terraform/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/terraform/Makefile b/misc/terraform/Makefile index a23500d3a49d..d34ba7109908 100644 --- a/misc/terraform/Makefile +++ b/misc/terraform/Makefile @@ -1,15 +1,10 @@ -# ex:ts=8 -# Ports collection makefile for: terraform -# Date created: Feb 8, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= terraform PORTVERSION= 0.9.5 -PORTREVISION= 1 DISTVERSIONPREFIX= src- +PORTREVISION= 1 CATEGORIES= misc gnome MASTER_SITES= GOOGLE_CODE EXTRACT_SUFX= .tgz @@ -34,6 +29,8 @@ MAKE_JOBS_SAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s| desktop-links docs | |' \ ${WRKSRC}/Makefile.in @@ -48,7 +45,7 @@ post-install: @${MKDIR} ${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/desktop-links/terraform.png \ ${PREFIX}/share/pixmaps -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in FAQ.sgml README.sgml UsersGuide.sgml i18n.txt ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR} |