git: 4eb5db88a806 - main - misc/ddate: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 12:24:21 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4eb5db88a806780718a046270a83faeb20356b45
commit 4eb5db88a806780718a046270a83faeb20356b45
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 12:24:18 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 12:24:18 +0000
misc/ddate: Move manpages to share/man
---
misc/ddate/Makefile | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/misc/ddate/Makefile b/misc/ddate/Makefile
index 8a92839d59b6..f4a27064b64a 100644
--- a/misc/ddate/Makefile
+++ b/misc/ddate/Makefile
@@ -2,6 +2,7 @@ PORTNAME= ddate
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.2-6
DISTVERSIONSUFFIX= -g899ca66
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= misc
@@ -14,25 +15,25 @@ LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= bo0ts
-OPTIONS_DEFINE= USFORMAT PRAISEBOB KILLBOB
+PLIST_FILES= bin/ddate \
+ share/man/man1/ddate.1.gz
-USFORMAT_DESC= US time format
-PRAISEBOB_DESC= SubGenius slogans
-KILLBOB_DESC= Countdown to X-Day
+OPTIONS_DEFINE= KILLBOB PRAISEBOB USFORMAT
+OPTIONS_DEFAULT= KILLBOB
-OPTIONS_DEFAULT=KILLBOB
+KILLBOB_DESC= Countdown to X-Day
+PRAISEBOB_DESC= SubGenius slogans
+USFORMAT_DESC= US time format
-USFORMAT_CFLAGS= -DUS_FORMAT=\"1\"
-PRAISEBOB_CFLAGS= -DPRAISE_BOB=\"13013\"
KILLBOB_CFLAGS= -DKILL_BOB=\"13013\"
-
-PLIST_FILES= bin/ddate man/man1/ddate.1.gz
+PRAISEBOB_CFLAGS= -DPRAISE_BOB=\"13013\"
+USFORMAT_CFLAGS= -DUS_FORMAT=\"1\"
do-build:
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
.include <bsd.port.mk>