freebsd-ports/sysutils/ipad_charge/Makefile
Kevin Lo 061f4ff1a5 Initial import of ipad_charge-1.1
ipad_charge is an iPad USB charging control utility.
2012-01-13 06:38:24 +00:00

38 lines
789 B
Makefile

# New ports collection makefile for: ipad_charge
# Date created: 13 January 2012
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ipad_charge
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://www.rainbow-software.org/linux_files/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= An iPad/iPad2 USB charging utility
LDFLAGS+= -lusb
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
PLIST_FILES= bin/ipad_charge
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800069
BROKEN= does not compile
.endif
do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
-o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>