1999-06-07 22:52:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 1999/06/08 02:52:52 jasoni Exp $
|
1998-12-03 19:29:20 -05:00
|
|
|
|
1999-06-07 22:52:52 -04:00
|
|
|
DISTNAME= WindowMaker-0.60.0
|
1998-12-03 19:29:20 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ftp://ftp.windowmaker.org/pub/beta/srcs/ \
|
|
|
|
ftp://ftp.io.com/pub/mirror/windowmaker/beta/srcs/
|
1999-04-21 21:07:46 -04:00
|
|
|
DATAFILES= WindowMaker-extra-0.1.tar.gz
|
1999-03-27 16:04:00 -05:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${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-03-26 21:49:31 -05:00
|
|
|
LIB_DEPENDS= PropList:${PORTSDIR}/devel/libproplist \
|
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
1999-03-27 16:11:31 -05:00
|
|
|
tiff:${PORTSDIR}/graphics/tiff34 \
|
|
|
|
png:${PORTSDIR}/graphics/png \
|
1999-03-26 21:49:31 -05:00
|
|
|
gif:${PORTSDIR}/graphics/giflib
|
|
|
|
|
1999-04-21 21:07:46 -04:00
|
|
|
# The files placed in $SYSCONFDIR are better placed in $PREFIX/share/WindowMaker
|
|
|
|
SYSCONFDIR= ${PREFIX}/share/WindowMaker/Defaults
|
1999-03-26 21:49:31 -05:00
|
|
|
GNU_CONFIGURE= yes
|
1999-03-27 16:11:31 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static --with-pixmapdir=${PREFIX}/share/WindowMaker/Pixmaps \
|
|
|
|
--with-incs-from="-I${PREFIX}/include -I${PREFIX}/include/giflib" \
|
1999-04-21 21:07:46 -04:00
|
|
|
--with-libs-from="-L${PREFIX}/lib" --disable-debug
|
1999-03-28 16:51:48 -05:00
|
|
|
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:
|
|
|
|
@cd ${WRKDIR}/WindowMaker-extra-0.1; \
|
|
|
|
${MAKE} install
|
|
|
|
@if [ -d /etc/WindowMaker ] ; then \
|
|
|
|
${ECHO} " "; \
|
|
|
|
${ECHO} "***"; \
|
|
|
|
${ECHO} "The directory /etc/WindowMaker may be removed."; \
|
|
|
|
${ECHO} "***"; \
|
|
|
|
${ECHO} " "; \
|
|
|
|
fi
|
1998-12-03 19:29:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|