aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-03-28 18:53:04 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-03-28 18:53:04 +0000
commitf84f9e9b854ee24bdc8fb1f439d400f2c3c8c9ad (patch)
tree3dc2cc78baab56fec5e92bdc57bcf1db38e6bcde /graphics
parentf6ab14221bf864af3c7507557d64e6f193eda63e (diff)
downloadports-f84f9e9b854ee24bdc8fb1f439d400f2c3c8c9ad.tar.gz
ports-f84f9e9b854ee24bdc8fb1f439d400f2c3c8c9ad.zip
Install manpage under share/man/man1
Also sort variables and use DISTVERSION instead of PORTVERSION.
Notes
Notes: svn path=/head/; revision=529755
Diffstat (limited to 'graphics')
-rw-r--r--graphics/maim/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/graphics/maim/Makefile b/graphics/maim/Makefile
index 444a07e11671..565aec64c9ec 100644
--- a/graphics/maim/Makefile
+++ b/graphics/maim/Makefile
@@ -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>