Make use of gammu-config script.

Suggested by:	lme
This commit is contained in:
Boris Samorodov 2008-01-12 17:49:23 +00:00
parent 029730ace2
commit a2add88149
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205565
2 changed files with 6 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= gammu
PORTVERSION= 1.17.0
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://dl.cihar.com/gammu/releases/ \
http://dl.cihar.com/gammu/releases/
@ -15,6 +16,7 @@ MAINTAINER= bsam@FreeBSD.org
COMMENT= GNU All Mobile Management Utilities
BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake
RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog
CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
@ -32,6 +34,7 @@ PORTDOCS= *
do-configure:
@(cd ${WRKSRC}; \
${LOCALBASE}/bin/cmake ${CMAKE_ARGS})
@{REINPLACE_CMD} -i '' -e 's:bash:sh:' -e 's:dialog:cdialog:' ${WRKSRC}/utils/gammu-config
.include <bsd.port.pre.mk>

View file

@ -7,6 +7,7 @@
PORTNAME= gammu
PORTVERSION= 1.17.0
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://dl.cihar.com/gammu/releases/ \
http://dl.cihar.com/gammu/releases/
@ -15,6 +16,7 @@ MAINTAINER= bsam@FreeBSD.org
COMMENT= GNU All Mobile Management Utilities
BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake
RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog
CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
@ -32,6 +34,7 @@ PORTDOCS= *
do-configure:
@(cd ${WRKSRC}; \
${LOCALBASE}/bin/cmake ${CMAKE_ARGS})
@{REINPLACE_CMD} -i '' -e 's:bash:sh:' -e 's:dialog:cdialog:' ${WRKSRC}/utils/gammu-config
.include <bsd.port.pre.mk>