diff options
author | avilla <avilla@FreeBSD.org> | 2013-01-05 11:00:14 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2013-01-05 11:00:14 +0800 |
commit | 69a51942d754cc314e77646bc76021fe818eceef (patch) | |
tree | caeb1689e09dafc57913d0f1cf473f56bfc84d91 /comms/usbmuxd | |
parent | 7d9153efbfce536a3e5686311ea0a0530cd73ae6 (diff) | |
download | freebsd-ports-gnome-69a51942d754cc314e77646bc76021fe818eceef.tar.gz freebsd-ports-gnome-69a51942d754cc314e77646bc76021fe818eceef.tar.zst freebsd-ports-gnome-69a51942d754cc314e77646bc76021fe818eceef.zip |
- Port to optionsNG.
- Trim headers.
- Cleanup COMMENT and LICENSE.
PR: 173807 [1]
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> [1], bapt via email
Diffstat (limited to 'comms/usbmuxd')
-rw-r--r-- | comms/usbmuxd/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/comms/usbmuxd/Makefile b/comms/usbmuxd/Makefile index a14557e2d64c..d12b9e0be041 100644 --- a/comms/usbmuxd/Makefile +++ b/comms/usbmuxd/Makefile @@ -1,7 +1,3 @@ -# New ports collection makefile for: usbmuxd -# Date created: 10 June 2010 -# Whom: Alberto Villa <avilla@FreeBSD.org> -# # $FreeBSD$ PORTNAME= usbmuxd @@ -13,7 +9,7 @@ MASTER_SITES= http://www.libimobiledevice.org/downloads/ MAINTAINER= avilla@FreeBSD.org COMMENT= Daemon for multiplexing connections over USB to an iPhone/iPod Touch -LIB_DEPENDS= plist.1:${PORTSDIR}/devel/libplist +LIB_DEPENDS= plist:${PORTSDIR}/devel/libplist USE_BZIP2= yes USE_CMAKE= yes @@ -22,12 +18,14 @@ USE_LDCONFIG= yes PORTDOCS= AUTHORS README README.devel -OPTIONS= INOTIFY "Use inotify instead of polling (saves energy)" off +OPTIONS_DEFINE= INOTIFY + +INOTIFY_DESC= Use inotify instead of polling (saves energy) .include <bsd.port.options.mk> -.ifdef(WITH_INOTIFY) -LIB_DEPENDS+= inotify.0:${PORTSDIR}/devel/libinotify +.if ${PORT_OPTIONS:MINOTIFY} +LIB_DEPENDS+= inotify:${PORTSDIR}/devel/libinotify .else CMAKE_ARGS+= -DWANT_INOTIFY:BOOL=FALSE .endif @@ -50,7 +48,7 @@ post-install: ${MKDIR} ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/python-client/*.py \ ${DATADIR}/ -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |