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/astrolog | |
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/astrolog')
-rw-r--r-- | misc/astrolog/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile index 2c89e418d2a3..05799dfc3b0b 100644 --- a/misc/astrolog/Makefile +++ b/misc/astrolog/Makefile @@ -1,10 +1,5 @@ -# New ports collection makefile for: astrolog -# -# Date created: 31 July 1995 -# Whom: faulkner@cactus.org -# +# Created by: faulkner@cactus.org # $FreeBSD$ -# PORTNAME= astrolog PORTVERSION= 5.41g @@ -13,11 +8,11 @@ CATEGORIES= misc astro MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/ephe/archive_gzip/:ephe \ ftp://ftp.astro.com/pub/swisseph/:libswe \ http://astrolog.offline.ee/astrolog/changed/:dist -DISTFILES= a541gsrc.tar.gz:dist ${EPHE} \ +DISTFILES= a541gsrc.tar.gz:dist ${EPHE} \ swe_unix_src_1.78.00.tar.gz:libswe MAINTAINER= ports@FreeBSD.org -COMMENT= An astrology program for X11 and alpha-numeric terminals +COMMENT= Astrology program for X11 and alpha-numeric terminals # Swiss Ephemeris GPLv2 licensed, see # http://www.astro.com/ftp/swisseph/LICENSE.TXT @@ -44,6 +39,8 @@ NO_WRKSUBDIR= yes DOCS= helpfile.540 readme.541 changes.txt +.include <bsd.port.options.mk> + post-extract: ${RM} ${WRKDIR}/swe[a-z]* @@ -57,7 +54,7 @@ do-install: ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \ fi cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for doc in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} |