freebsd-ports/www/dotproject-devel/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: dotproject-devel
# Date created: Mon Apr 30 07:53:48 EDT 2007
# Whom: Paul Chvostek <paul@it.ca>
#
# $FreeBSD$
#
PORTNAME= dotproject
PORTVERSION= ${DOTPROJECTVER}.${DEVELVERSION:C/^([a-z]).*/\1/}${DEVELVERSION:C/^[a-z]*//}
CATEGORIES= www devel
MASTER_SITES= SF
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${DOTPROJECTVER}-${DEVELVERSION}
MAINTAINER= paul+ports@it.ca
COMMENT= Open Source Project Management tool
DOTPROJECTVER= 2.1
DEVELVERSION= rc1
OPTIONS= JPGRAPH "Build gantt charts with graphics/jpgraph" on
WRKSRC= ${WRKDIR}/${PORTNAME}
DOTPROJECTDIR= ${PREFIX}/www/${PORTNAME}
NO_BUILD= yes
USE_PHP= gd mysql session zlib
WANT_PHP_WEB= yes
USE_APACHE= yes
USE_MYSQL= yes
SUB_LIST+= DOTPROJECTDIR=${DOTPROJECTDIR}
SUB_FILES= pkg-message
.if defined(WITH_JPGRAPH)
RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/webfonts/arial.ttf:${PORTSDIR}/x11-fonts/webfonts \
${PREFIX}/share/jpgraph/jpgraph.php:${PORTSDIR}/graphics/jpgraph2
.endif
post-patch:
@${FIND} ${WRKSRC} -name CVS -o -name *.orig | ${XARGS} ${RM}
do-install:
${MKDIR} ${DOTPROJECTDIR}
${CP} -R ${WRKSRC}/* ${DOTPROJECTDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DOTPROJECTDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>