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