mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
0a26ea4734
now works again :) Approved by: maintainer
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# New ports collection makefile for: sawmill
|
|
# Version required: ${VERSION} :)
|
|
# Date created: 13 September 1999
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= sawmill-${VERSION}
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= ftp://sawmill.sourceforge.net/pub/sawmill/
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
|
Imlib.5:${PORTSDIR}/graphics/imlib \
|
|
rep.8:${PORTSDIR}/lang/librep
|
|
.if !defined(NOGNOME)
|
|
LIB_DEPENDS+= capplet.1:${PORTSDIR}/sysutils/gnomecontrolcenter
|
|
.endif
|
|
BUILD_DEPENDS= ${LOCALBASE}/libexec/rep/${ARCH}--freebsd${OSREL}/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/rep/${ARCH}--freebsd${OSREL}/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL} VERSION=${VERSION}
|
|
VERSION= 0.25.2
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOCONF= yes
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \
|
|
--datadir=${PREFIX}/share --with-readline
|
|
.if !defined(NOGNOME)
|
|
CONFIGURE_ARGS+= --enable-capplet
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-capplet
|
|
.endif
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
LIBS="-L${LOCALBASE}/lib -lxpg4"
|
|
|
|
.if defined(NOGNOME)
|
|
PLIST= ${PKGDIR}/PLIST.nognome
|
|
.endif
|
|
|
|
post-install:
|
|
if [ ! -f ${PREFIX}/info/dir ]; then \
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
fi
|
|
install-info --section="X11 window manager" \
|
|
--entry="* sawmill: (sawmill). sawmill programming manual" \
|
|
${PREFIX}/info/sawmill.info ${PREFIX}/info/dir
|
|
|
|
.include <bsd.port.mk>
|