freebsd-ports/graphics/camera/Makefile
Baptiste Daroussin 06f79b66f2 Convert bsd.gnustep.mk to USES=gnustep
Simplify gnustep ports
Hook into the regular ports framework:
- LIB_DEPENDS for library dependencies
- Use regular USE_LDCONFIG

Reuse USES=objc (automatic)
USE_GNUSTEP is now a macro to set the dependencies and build feature needed.
Accepted arguments: back base build gui

Merge deskutils/preferencepanes into deskutils/systempreferences
2015-04-09 07:44:41 +00:00

31 lines
743 B
Makefile

# Created by: gurkan@phys.ethz.ch
# $FreeBSD$
PORTNAME= camera
PORTVERSION= 0.8
PORTREVISION= 6
CATEGORIES= graphics gnustep
MASTER_SITES= http://download.gna.org/gsimageapps/
DISTNAME= Camera-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep application for digital still cameras
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/Documentation/COPYING
LIB_DEPENDS= libgphoto2_port.so:${PORTSDIR}/graphics/libgphoto2
USES= tar:bzip2 gnustep
USE_GNUSTEP= back build
WRKSRC= ${WRKDIR}/Camera
post-patch:
${REINPLACE_CMD} 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
${WRKSRC}/GNUmakefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/Local/Applications/Camera.app/Camera
.include <bsd.port.mk>