1999-04-17 00:52:04 -04:00
|
|
|
# New ports collection makefile for: postilion
|
|
|
|
# Version required: 0.9.1a
|
|
|
|
# Date created: 20 February 1999
|
|
|
|
# Whom: Glenn Johnson <gljohns@bellsouth.net>
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
1999-04-22 12:35:48 -04:00
|
|
|
DISTNAME= postilion-0.9.2
|
1999-04-17 00:52:04 -04:00
|
|
|
CATEGORIES= mail tk80
|
|
|
|
MASTER_SITES= http://www.postilion.org/
|
|
|
|
|
|
|
|
MAINTAINER= gljohns@bellsouth.net
|
|
|
|
|
|
|
|
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
|
1999-04-22 12:35:48 -04:00
|
|
|
img.1:${PORTSDIR}/graphics/libimg
|
1999-04-17 00:52:04 -04:00
|
|
|
BUILD_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80
|
|
|
|
|
|
|
|
FETCH_BEFORE_ARGS= -b
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
1999-04-22 12:35:48 -04:00
|
|
|
CONFIGURE_ARGS= --with-tcl-config=${PREFIX}/lib/tcl8.0
|
|
|
|
|
|
|
|
.if defined(STEPIFY)
|
|
|
|
LIB_DEPENDS+= tkstep80.1:${PORTSDIR}/x11-toolkits/tkstep80 \
|
|
|
|
Dnd.1:${PORTSDIR}/x11/libdnd \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff34 \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
CONFIGURE_ARGS+= --with-tk-config=${PREFIX}/share/tkstep8.0
|
|
|
|
pre-patch:
|
|
|
|
${SED} s/'(DND) 0/(DND) 1'/ ${FILESDIR}/options.tcl > \
|
|
|
|
${WRKSRC}/postilion/options.tcl
|
|
|
|
.else
|
|
|
|
pre-extract:
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "You can build postilion with NeXtStep style widgets by defining STEPIFY"
|
|
|
|
@${ECHO} ""
|
|
|
|
LIB_DEPENDS+= tk80.1:${PORTSDIR}/x11-toolkits/tk80
|
|
|
|
CONFIGURE_ARGS+= --with-tk-config=${PREFIX}/lib/tk8.0
|
|
|
|
.endif
|
1999-04-17 00:52:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|