1997-11-04 10:33:43 +00:00
|
|
|
# New ports collection makefile for: WindowMaker
|
1998-09-30 13:24:40 +00:00
|
|
|
# Version required: 0.20.1
|
1997-11-04 10:33:43 +00:00
|
|
|
# Date created: August 13, 1997
|
|
|
|
# Whom: handy@physics.montana.edu
|
|
|
|
#
|
1998-10-19 10:57:04 +00:00
|
|
|
# $Id: Makefile,v 1.34 1998/09/30 13:24:39 tg Exp $
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-09-30 13:24:40 +00:00
|
|
|
DISTNAME= WindowMaker-0.20.1
|
|
|
|
PKGNAME= windowmaker-0.20.1
|
1998-08-07 23:01:41 +00:00
|
|
|
CATEGORIES= x11-wm
|
1998-06-04 07:56:57 +00:00
|
|
|
MASTER_SITES= ftp://ftp.windowmaker.org/pub/beta/srcs/ \
|
|
|
|
ftp://ftp.io.com/pub/mirror/windowmaker/beta/srcs/ \
|
1998-02-24 09:16:54 +00:00
|
|
|
http://jgo.local.net/cool_downloads/wm/
|
1998-09-30 13:24:40 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DATAFILES}
|
1997-11-04 10:33:43 +00:00
|
|
|
|
|
|
|
MAINTAINER= handy@physics.montana.edu
|
|
|
|
|
1998-08-11 08:37:44 +00:00
|
|
|
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
|
1998-09-19 01:33:49 +00:00
|
|
|
gif.3:${PORTSDIR}/graphics/giflib \
|
1998-09-15 11:46:15 +00:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
1998-09-17 00:50:52 +00:00
|
|
|
png.2:${PORTSDIR}/graphics/png \
|
1998-09-19 01:33:49 +00:00
|
|
|
tiff34.1:${PORTSDIR}/graphics/tiff34
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-02-26 07:24:19 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= X11BASE=${X11BASE}
|
|
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
|
|
|
--with-nlsdir=${LOCALBASE}/lib/locale \
|
1998-08-11 08:37:44 +00:00
|
|
|
--with-gfx-libs="-L${LOCALBASE}/lib" \
|
1998-02-26 07:24:19 +00:00
|
|
|
--with-gfx-incs="-I${LOCALBASE}/include/tiff34 -I${LOCALBASE}/include"
|
1997-11-04 10:33:43 +00:00
|
|
|
|
1998-09-30 13:24:40 +00:00
|
|
|
MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
|
1998-09-09 05:57:18 +00:00
|
|
|
wdwrite.1x wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x
|
|
|
|
|
1998-09-30 13:24:40 +00:00
|
|
|
DATAFILES= WindowMaker-data.tar.gz
|
|
|
|
|
1998-07-28 06:17:39 +00:00
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}; ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} libPropList.tar.gz
|
|
|
|
|
1998-10-19 10:57:04 +00:00
|
|
|
post-patch:
|
|
|
|
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
|
|
|
|
|
1998-07-28 06:17:39 +00:00
|
|
|
pre-configure:
|
|
|
|
@(cd ${WRKSRC}/libPropList && CC="${CC}" CXX="${CXX}" \
|
|
|
|
ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS} -fPIC" \
|
|
|
|
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
|
|
|
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
|
1998-09-27 20:59:17 +00:00
|
|
|
${MAKE} ${MAKE_ENV})
|
1998-07-28 06:17:39 +00:00
|
|
|
|
|
|
|
pre-install:
|
1998-09-27 20:59:17 +00:00
|
|
|
@(cd ${WRKSRC}/libPropList; ${MAKE} ${MAKE_ENV} install)
|
|
|
|
|
|
|
|
post-install:
|
1998-09-30 13:24:40 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/WindowMaker/Pixmaps/
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/WindowMaker-data/pixmaps/* \
|
|
|
|
${PREFIX}/share/WindowMaker/Pixmaps/
|
1998-09-27 20:59:17 +00:00
|
|
|
if [ "${PORTOBJFORMAT}" = "elf" ]; then \
|
|
|
|
${LN} -sf libPropList.so.0 ${PREFIX}/lib/libPropList.so; \
|
|
|
|
else \
|
|
|
|
${LN} -sf libPropList.so.0.8 ${PREFIX}/lib/libPropList.so; \
|
|
|
|
fi
|
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1998-07-28 06:17:39 +00:00
|
|
|
|
1997-11-04 10:33:43 +00:00
|
|
|
.include <bsd.port.mk>
|