openbsd-ports/x11/enlightenment/Makefile

68 lines
1.9 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.44 2007/09/15 20:04:19 merdely Exp $
COMMENT= themed window manager
2005-06-22 00:48:28 -04:00
DISTNAME= enlightenment-0.16.7.2
PKGNAME= ${DISTNAME}p2
2005-06-22 00:48:28 -04:00
DOCS= enlightenment-docs-0.16.7
THEMES= enlightenment-theme-BlueSteel-0.16 \
enlightenment-theme-BrushedMetal-Tigert-0.16 \
enlightenment-theme-Ganymede-0.16 \
enlightenment-theme-ShinyMetal-0.16
CATEGORIES= x11
2005-06-22 00:48:28 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/} \
ftp://ftp.squish.org/pub/enlightenment/enlightenment
2005-06-22 00:48:28 -04:00
DISTFILES= ${DISTNAME}.tar.gz \
${DOCS}.tar.gz \
enlightenment-theme-BlueSteel-0.16.tar.gz \
enlightenment-theme-BrushedMetal-Tigert-0.16.tar.gz \
enlightenment-theme-Ganymede-0.16.tar.gz \
enlightenment-theme-ShinyMetal-0.16.tar.gz
2005-06-22 00:48:28 -04:00
HOMEPAGE= http://www.enlightenment.org/
MAINTAINER= Paul Wang <op21@squish.org>
# X11
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2001-06-23 17:42:56 -04:00
USE_X11= Yes
2000-03-05 13:30:21 -05:00
USE_GMAKE= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
2005-06-22 00:48:28 -04:00
CONFIGURE_ARGS= --enable-fsstd --sysconfdir=${SYSCONFDIR}
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
2006-08-03 20:10:42 -04:00
LIB_DEPENDS= esd.>=2::audio/esound \
Imlib2.>=2::graphics/imlib2
WANTLIB= ICE SM X11 Xext Xinerama Xxf86vm audiofile c freetype m
MODULES= devel/gettext
2005-06-22 00:48:28 -04:00
post-configure:
2006-11-03 12:01:10 -05:00
@cd ${WRKDIR}/${DOCS} && ${SETENV} ${CONFIGURE_ENV} \
2005-06-22 00:48:28 -04:00
${SH} ./configure ${CONFIGURE_ARGS}
@for i in ${THEMES}; do \
cd ${WRKDIR}/$$i && \
2006-11-03 12:01:10 -05:00
${SETENV} ${CONFIGURE_ENV} ${SH} \
2005-06-22 00:48:28 -04:00
./configure ${CONFIGURE_ARGS}; \
done
post-install:
@cd ${WRKDIR}/${DOCS} && ${SUDO} ${SETENV} \
2005-06-22 00:48:28 -04:00
${MAKE_ENV} ${_FAKE_SETUP} ${MAKE_PROGRAM} ${FAKE_FLAGS} \
-f ${MAKE_FILE} ${FAKE_TARGET}
@for i in ${THEMES}; do \
cd ${WRKDIR}/$$i && \
${SUDO} ${SETENV} ${MAKE_ENV} \
2005-06-22 00:48:28 -04:00
${_FAKE_SETUP} ${MAKE_PROGRAM} ${FAKE_FLAGS} \
-f ${MAKE_FILE} ${FAKE_TARGET}; \
done
.include <bsd.port.mk>