mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
astro/phoon: Sanitize MANPREFIX
- Remove NOOP pre-patch - Add LICENSE BSD2CLAUSE found inside source code Approved by: portmgr (blanket)
This commit is contained in:
parent
2d807dc445
commit
968a06c520
2 changed files with 6 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= phoon
|
||||
PORTVERSION= 2014
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= http://www.acme.com/software/phoon/
|
||||
PKGNAMESUFFIX= _14Aug
|
||||
|
@ -9,12 +10,10 @@ MAINTAINER= xride@FreeBSD.org
|
|||
COMMENT= Displays the phase of the moon
|
||||
WWW= https://www.acme.com/software/phoon/
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/phoon man/man1/phoon.1.gz
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e 's|gmtoff = !!!;||g' \
|
||||
${WRKSRC}/date_parse.c
|
||||
PLIST_FILES= bin/phoon share/man/man1/phoon.1.gz
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
-BINDIR = /usr/local/bin
|
||||
-MANDIR = /usr/local/man/man1
|
||||
+BINDIR = $(DESTDIR)$(PREFIX)/bin
|
||||
+MANDIR = $(DESTDIR)$(MANPREFIX)/man/man1
|
||||
+MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
|
||||
DEFINES = -DOS_BSD
|
||||
#DEFINES = -DOS_SYSV
|
||||
|
@ -22,7 +22,7 @@
|
|||
all: phoon
|
||||
|
||||
phoon: phoon.o date_parse.o astro.o
|
||||
@@ -24,7 +21,7 @@ date_parse.o: date_parse.h
|
||||
@@ -24,7 +21,7 @@ install: all
|
||||
astro.o: astro.h
|
||||
|
||||
install: all
|
||||
|
|
Loading…
Add table
Reference in a new issue