openbsd-ports/x11/windowmaker/Makefile

46 lines
1.4 KiB
Makefile
Raw Normal View History

1999-06-07 22:52:52 -04:00
# $OpenBSD: Makefile,v 1.15 1999/06/08 02:52:52 jasoni Exp $
1999-06-07 22:52:52 -04:00
DISTNAME= WindowMaker-0.60.0
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
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
NEED_VERSION= 1.73
1999-03-08 00:17:59 -05:00
MAINTAINER= jasoni@openbsd.org
1999-03-08 23:13:58 -05:00
LIB_DEPENDS= PropList:${PORTSDIR}/devel/libproplist \
jpeg:${PORTSDIR}/graphics/jpeg \
tiff:${PORTSDIR}/graphics/tiff34 \
png:${PORTSDIR}/graphics/png \
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
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" \
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"
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
.include <bsd.port.mk>