45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.24 2000/03/05 18:30:47 espie Exp $
|
|
|
|
DISTNAME= WindowMaker-0.61.1
|
|
PKGNAME= windowmaker-0.61.1
|
|
CATEGORIES= x11
|
|
NEED_VERSION= 1.223
|
|
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER}
|
|
MASTER_SITE_SUBDIR= beta/srcs
|
|
DATAFILES= WindowMaker-extra-0.1.tar.gz
|
|
DISTFILES= ${DISTNAME}.tar.gz ${DATAFILES}
|
|
|
|
MAINTAINER= jasoni@openbsd.org
|
|
|
|
LICENSE_TYPE= GPL
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
LIB_DEPENDS= PropList.2:devel/libproplist \
|
|
jpeg.62:graphics/jpeg \
|
|
tiff.35:graphics/tiff \
|
|
png.1.3:graphics/png \
|
|
gif.4.1:graphics/giflib
|
|
|
|
# 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" \
|
|
--with-libs-from="-L${PREFIX}/lib" --disable-debug
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
post-configure:
|
|
@cd ${WRKDIR}/WindowMaker-extra-0.1; \
|
|
./configure --prefix="${PREFIX}"
|
|
|
|
post-install:
|
|
@cd ${WRKDIR}/WindowMaker-extra-0.1; make install
|
|
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|