freebsd-ports/x11-wm/epplets/Makefile
Tobias C. Berner 45526ecbee framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.

	USES=magick

adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.

If a specific version is required, use for example

	USES=magick:6        resp.     USES=magick:7

If only a build, run or test is required, use for example

	USES=magick:build    resp.     USES=magick:6,build,test

If a dependency on the nox11 flavor is required, use for example

	USES=magick:nox11    resp.     USES=magick:7,nox11,run,test

See magick.mk for more details on the available flags.

The tree has been completely converted to make use of this.

Approved by:	bapt
Differential Revision: https://reviews.freebsd.org/D32754
2021-12-11 14:50:53 +01:00

32 lines
833 B
Makefile

# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
PORTNAME= epplets
PORTVERSION= 0.14
PORTREVISION= 9
CATEGORIES= x11-wm
MASTER_SITES= SF/enlightenment/${PORTNAME}/${PORTVERSION}
MAINTAINER= enlightenment@FreeBSD.org
COMMENT= Collection of Enlightenment dock applications
BUILD_DEPENDS= e16:x11-wm/e16
LIB_DEPENDS= libcdaudio.so:audio/libcdaudio
RUN_DEPENDS= e16:x11-wm/e16
USES= gl gmake libtool magick:6,run pkgconfig xorg
USE_XORG= xext
USE_GL= glut
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-auto-respawn \
--disable-esound
post-patch:
@${REINPLACE_CMD} -e 's|<machine/soundcard\.h>|<sys/soundcard.h>|g' \
${WRKSRC}/epplets/Emix.c
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
${WRKSRC}/epplets/mbox.c
.include <bsd.port.mk>