aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-17 22:01:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-17 22:01:22 +0800
commitc0fb08635d75fa0c9b502f928e09e735c445927a (patch)
treeaeeab1f3ddfc4f29228a01c4ab720ea4a2b1077e /x11-fm
parentab84fc0d729dfafce8dd426983018f4b4ee24c0f (diff)
downloadfreebsd-ports-graphics-c0fb08635d75fa0c9b502f928e09e735c445927a.tar.gz
freebsd-ports-graphics-c0fb08635d75fa0c9b502f928e09e735c445927a.tar.zst
freebsd-ports-graphics-c0fb08635d75fa0c9b502f928e09e735c445927a.zip
- Pet portlint
- Switch to options helpers - Switch to opt_CMAKE_BOOL
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/wcmcommander/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11-fm/wcmcommander/Makefile b/x11-fm/wcmcommander/Makefile
index 9f4f6679be7..5f486b6c14b 100644
--- a/x11-fm/wcmcommander/Makefile
+++ b/x11-fm/wcmcommander/Makefile
@@ -3,8 +3,8 @@
PORTNAME= wcmcommander
PORTVERSION= 0.20.0
-PORTREVISION= 1
DISTVERSIONPREFIX= release-
+PORTREVISION= 1
CATEGORIES= x11-fm
MAINTAINER= amdmi3@FreeBSD.org
@@ -27,14 +27,11 @@ OPTIONS_DEFINE= FREETYPE SMB SSH DOCS
OPTIONS_DEFAULT=FREETYPE SMB SSH
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
-FREETYPE_CMAKE_ON= -DWITH_FREETYPE=ON
-FREETYPE_CMAKE_OFF= -DWITH_FREETYPE=OFF
+FREETYPE_CMAKE_BOOL= WITH_FREETYPE
SMB_LIB_DEPENDS= libsmbclient.so:net/samba-libsmbclient
-SMB_CMAKE_ON= -DWITH_SMBCLIENT=ON
-SMB_CMAKE_OFF= -DWITH_SMBCLIENT=OFF
+SMB_CMAKE_BOOL= WITH_SMBCLIENT
SSH_LIB_DEPENDS= libssh2.so:security/libssh2
-SSH_CMAKE_ON= -DWITH_LIBSSH2=ON
-SSH_CMAKE_OFF= -DWITH_LIBSSH2=OFF
+SSH_CMAKE_BOOL= WITH_LIBSSH2
.include <bsd.port.pre.mk>
@@ -42,8 +39,8 @@ SSH_CMAKE_OFF= -DWITH_LIBSSH2=OFF
CXXFLAGS+= -D_GLIBCXX_USE_C99 # gcc c++11 support is broken on FreeBSD
.endif
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor