1999-12-10 15:52:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 1999/12/10 20:52:33 jasoni Exp $
|
1998-12-03 19:29:20 -05:00
|
|
|
|
1999-10-26 17:48:16 -04:00
|
|
|
DISTNAME= WindowMaker-0.61.1
|
|
|
|
PKGNAME= windowmaker-0.61.1
|
1998-12-03 19:29:20 -05:00
|
|
|
CATEGORIES= x11
|
1999-12-08 19:03:19 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER}
|
|
|
|
MASTER_SITE_SUBDIR= beta/srcs
|
1999-04-21 21:07:46 -04:00
|
|
|
DATAFILES= WindowMaker-extra-0.1.tar.gz
|
1999-12-08 19:03:19 -05:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz ${DATAFILES}
|
1998-12-03 19:29:20 -05:00
|
|
|
|
1999-03-27 16:11:31 -05:00
|
|
|
NEED_VERSION= 1.73
|
1999-03-08 00:17:59 -05:00
|
|
|
|
1999-03-26 21:49:31 -05:00
|
|
|
MAINTAINER= jasoni@openbsd.org
|
1999-03-08 23:13:58 -05:00
|
|
|
|
1999-12-08 19:03:19 -05:00
|
|
|
LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libproplist \
|
1999-10-27 00:57:22 -04:00
|
|
|
jpeg.62:${PORTSDIR}/graphics/jpeg \
|
|
|
|
tiff.35:${PORTSDIR}/graphics/tiff \
|
|
|
|
png.1.3:${PORTSDIR}/graphics/png \
|
|
|
|
gif.4.1:${PORTSDIR}/graphics/giflib
|
1999-03-26 21:49:31 -05:00
|
|
|
|
1999-04-21 21:07:46 -04:00
|
|
|
# The files placed in $SYSCONFDIR are better placed in $PREFIX/share/WindowMaker
|
1999-12-08 19:03:19 -05:00
|
|
|
SYSCONFDIR= ${PREFIX}/share/WindowMaker/Defaults
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+=--enable-static --with-pixmapdir=${PREFIX}/share/WindowMaker/Pixmaps \
|
|
|
|
--with-incs-from="-I${PREFIX}/include -I${PREFIX}/include/giflib" \
|
|
|
|
--with-libs-from="-L${PREFIX}/lib" --disable-debug
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" \
|
|
|
|
LDFLAGS="-L${PREFIX}/lib"
|
1998-12-03 19:29:20 -05:00
|
|
|
|
1999-04-21 21:07:46 -04:00
|
|
|
post-configure:
|
|
|
|
@cd ${WRKDIR}/WindowMaker-extra-0.1; \
|
|
|
|
./configure --prefix=${PREFIX}
|
|
|
|
|
|
|
|
post-install:
|
1999-12-08 19:03:19 -05:00
|
|
|
@cd ${WRKDIR}/WindowMaker-extra-0.1; make install
|
1999-12-10 15:52:33 -05:00
|
|
|
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
1998-12-03 19:29:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|