34 lines
901 B
Makefile
34 lines
901 B
Makefile
# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= epplets
|
|
PORTVERSION= 0.14
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= SF/enlightenment/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= enlightenment@FreeBSD.org
|
|
COMMENT= Collection of Enlightenment dock applications
|
|
|
|
BUILD_DEPENDS= e16:${PORTSDIR}/x11-wm/e16
|
|
LIB_DEPENDS= libcdaudio.so:${PORTSDIR}/audio/libcdaudio
|
|
RUN_DEPENDS= e16:${PORTSDIR}/x11-wm/e16 \
|
|
import:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
USES= gmake libtool pkgconfig
|
|
USE_XORG= xext
|
|
USE_GNOME= esound
|
|
USE_GL= glut
|
|
USE_LDCONFIG= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-auto-respawn
|
|
|
|
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>
|