aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2024-01-21 12:43:46 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2024-01-21 12:43:46 +0000
commit45f5e4b9e978b94bbd675a8ce4c4adc4b9b9b96a (patch)
treec9f08924e272a5f80b44effb98a0cb391c52223d
parent6b3fe329a0f6cd3e6231935250c3b6846567f318 (diff)
downloadports-45f5e4b9e978b94bbd675a8ce4c4adc4b9b9b96a.tar.gz
ports-45f5e4b9e978b94bbd675a8ce4c4adc4b9b9b96a.zip
math/aamath: Move manpages to share/man
While here use localbase USES flag
-rw-r--r--math/aamath/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/math/aamath/Makefile b/math/aamath/Makefile
index 8f53f9df04e3..2d357e987549 100644
--- a/math/aamath/Makefile
+++ b/math/aamath/Makefile
@@ -1,6 +1,6 @@
PORTNAME= aamath
-PORTVERSION= 0.3
-PORTREVISION= 4
+DISTVERSION= 0.3
+PORTREVISION= 5
CATEGORIES= math textproc
MASTER_SITES= http://fuse.superglue.se/${PORTNAME}/ \
LOCAL/ehaupt
@@ -12,15 +12,15 @@ WWW= http://fuse.superglue.se/aamath/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= ncurses readline
-WRKSRC= ${WRKDIR}/${PORTNAME}
-CFLAGS+= -I${LOCALBASE}/include
+USES= localbase ncurses readline
MAKE_ARGS= LIBS="-lreadline -lncurses"
+WRKSRC= ${WRKDIR}/${PORTNAME}
-PLIST_FILES= bin/aamath man/man1/aamath.1.gz
+PLIST_FILES= bin/aamath \
+ share/man/man1/aamath.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>