Install manpage under share/man/man1

Also sort variables and use DISTVERSION instead of PORTVERSION.
This commit is contained in:
Mateusz Piotrowski 2020-03-28 18:53:04 +00:00
parent f6ab14221b
commit f84f9e9b85
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529755

View file

@ -1,9 +1,9 @@
# $FreeBSD$
PORTNAME= maim
PORTVERSION= 5.5.3
DISTVERSIONPREFIX= v
PORTREVISION= 3
DISTVERSION= 5.5.3
PORTREVISION= 4
CATEGORIES= graphics
MAINTAINER= 0mp@FreeBSD.org
@ -12,8 +12,8 @@ COMMENT= Screenshot utility with performance improvements over scrot
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm
LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
libicuuc.so:devel/icu \
LIB_DEPENDS= libicuuc.so:devel/icu \
libImlib2.so:graphics/imlib2 \
libpng.so:graphics/png \
libslopy.so:x11/slop
@ -23,12 +23,14 @@ GH_ACCOUNT= naelstrof
USE_GL= gl glut
USE_XORG= ice sm x11 xcomposite xext xfixes xrandr xrender
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
CMAKE_ARGS= -DSLOP_LIBRARIES=${LOCALBASE}/lib/libslopy.so
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/share/man/man1
.include <bsd.port.mk>