openbsd-ports/x11/enlightenment/Makefile

71 lines
2.0 KiB
Makefile
Raw Normal View History

2006-08-03 20:10:42 -04:00
# $OpenBSD: Makefile,v 1.41 2006/08/04 00:10:42 espie Exp $
2001-11-09 12:05:15 -05:00
COMMENT= "themed window manager"
2005-06-22 00:48:28 -04:00
DISTNAME= enlightenment-0.16.7.2
PKGNAME= ${DISTNAME}p1
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
2005-06-22 00:48:28 -04:00
WANTLIB= ICE SM X11 Xext Xinerama Xxf86vm \
audiofile bz2 c iconv freetype intl jpeg \
ltdl m png tiff ungif z
MODULES= converters/libiconv \
devel/gettext
post-configure:
@cd ${WRKDIR}/${DOCS} && ${SETENV} ${CONFIGURE_ENV} ${SCRIPTS_ENV} \
${SH} ./configure ${CONFIGURE_ARGS}
@for i in ${THEMES}; do \
cd ${WRKDIR}/$$i && \
${SETENV} ${CONFIGURE_ENV} ${SCRIPTS_ENV} ${SH} \
./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>