aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-22 22:06:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-22 22:06:15 +0800
commit08f9955fe5b8786ef7f8f475a0a774c85d359faf (patch)
treea9db9a293ded6dcd5186cbc6c34f0def2425f16e /comms
parente20a9721dd58a82b50002b27f978e032520ddadd (diff)
downloadfreebsd-ports-gnome-08f9955fe5b8786ef7f8f475a0a774c85d359faf.tar.gz
freebsd-ports-gnome-08f9955fe5b8786ef7f8f475a0a774c85d359faf.tar.zst
freebsd-ports-gnome-08f9955fe5b8786ef7f8f475a0a774c85d359faf.zip
- Add LICENSE_FILE
- Pet portlint
Diffstat (limited to 'comms')
-rw-r--r--comms/gammu/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile
index d4f3923e4d7d..283255b1d48b 100644
--- a/comms/gammu/Makefile
+++ b/comms/gammu/Makefile
@@ -12,14 +12,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= GNU All Mobile Management Utilities
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog
CONFLICTS= gammu-devel-[1-9]* gammu-python-[1-9]*
-OPTIONS_DEFINE= BASH
-
CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
USES= cmake gettext pkgconfig python shebangfix
@@ -30,6 +29,13 @@ USE_LDCONFIG= yes
PORTDOCS= *
+OPTIONS_DEFINE= BASH
+
+BASH_BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+BASH_RUN_DEPENDS= ${BASH_BUILD_DEPENDS}
+BASH_PLIST_FILES= etc/bash_completion.d/gammu
+BASH_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-contrib_CMakeLists.txt
+
post-patch:
@${REINPLACE_CMD} -i '' -e 's:/etc/bash_completion.d:${PREFIX}/etc/bash_completion.d:' \
${WRKSRC}/contrib/CMakeLists.txt
@@ -41,9 +47,4 @@ post-install:
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
-BASH_BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-BASH_RUN_DEPENDS= ${BASH_BUILD_DEPENDS}
-BASH_PLIST_FILES= etc/bash_completion.d/gammu
-BASH_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-contrib_CMakeLists.txt
-
.include <bsd.port.mk>