2003-02-27 21:55:55 +00:00
|
|
|
# New ports collection makefile for: idesk
|
|
|
|
# Date created: 16 February 2003
|
|
|
|
# Whom: Sascha Holzleiter <sascha@root-login.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= idesk
|
2005-11-30 17:58:45 +00:00
|
|
|
PORTVERSION= 0.7.5
|
2008-03-22 08:55:40 +00:00
|
|
|
PORTREVISION= 4
|
2003-02-27 21:55:55 +00:00
|
|
|
CATEGORIES= x11
|
2004-05-20 09:16:04 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-09-26 07:20:17 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/
|
2003-02-27 21:55:55 +00:00
|
|
|
|
2006-07-23 02:45:24 +00:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2005-09-13 21:18:32 +00:00
|
|
|
COMMENT= Place launch icons and background directly on your desktop
|
2003-02-27 21:55:55 +00:00
|
|
|
|
2005-09-13 21:18:32 +00:00
|
|
|
USE_BZIP2= yes
|
2003-02-27 21:55:55 +00:00
|
|
|
USE_GMAKE= yes
|
2008-03-11 21:13:53 +00:00
|
|
|
USE_EFL= imlib2
|
2005-09-13 21:18:32 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-09-30 04:47:36 +00:00
|
|
|
USE_AUTOTOOLS= autoconf:261
|
2005-09-13 21:18:32 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2003-02-27 21:55:55 +00:00
|
|
|
|
2005-09-13 21:18:32 +00:00
|
|
|
CXXFLAGS+= `imlib2-config --cflags` `freetype-config --cflags`
|
2003-02-27 21:55:55 +00:00
|
|
|
MAKE_ARGS= cc="${CXX}" cflags="${CXXFLAGS}"
|
2007-02-05 00:04:01 +00:00
|
|
|
SUB_FILES= pkg-message
|
2003-02-27 21:55:55 +00:00
|
|
|
|
2005-11-30 17:58:45 +00:00
|
|
|
OPTIONS= XFT "XFT antialias support" on \
|
|
|
|
SHAPE "Enable support of the XShape extension" on \
|
|
|
|
SN "Startup notification support" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_XFT)
|
|
|
|
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
|
|
|
CONFIGURE_ARGS+= --enable-xft
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-xft
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_SHAPE)
|
|
|
|
CONFIGURE_ARGS+= --enable-shape
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-shape
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SN)
|
|
|
|
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
|
|
|
|
CONFIGURE_ARGS+= --enable-libsn
|
|
|
|
.endif
|
|
|
|
|
2003-02-27 21:55:55 +00:00
|
|
|
do-install:
|
2005-09-13 21:18:32 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/idesk ${PREFIX}/bin
|
2003-02-27 21:55:55 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
2007-02-05 00:04:01 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2003-02-27 21:55:55 +00:00
|
|
|
|
2005-11-30 17:58:45 +00:00
|
|
|
.include <bsd.port.post.mk>
|