freebsd-ports/finance/sabernetdcs-client/Makefile
Gabor Kovesdan 42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00

50 lines
1.4 KiB
Makefile

# New ports collection makefile for: sabernetdcs
# Date created: 29 December 2006
# Whom: Matthew Ranostay <mranostay@saberlogic.com>
#
# $FreeBSD$
#
PORTNAME= sabernetdcs
PORTVERSION= 2.0.3
PORTREVISION= 2
CATEGORIES= finance www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sabernetdcs
PKGNAMESUFFIX= -client
DISTNAME= sndcs-${PORTVERSION}
MAINTAINER= mranostay@saberlogic.com
COMMENT= SaberNet DCS - A labor data collection system
RUN_DEPENDS= pygtk-codegen-2.0:${PORTSDIR}/x11-toolkits/py-gtk2 \
${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gobject/__init__.py:${PORTSDIR}/devel/py-gobject \
${PYTHONPREFIX_SITELIBDIR}/Pyro/__init__.py:${PORTSDIR}/devel/py-ro
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
USE_BZIP2= yes
DOCSDIR= ${PREFIX}/share/doc/sndcs
DATADIR= ${PREFIX}/share/sndcs
PYDISTUTILS_PKGNAME= sndcs
.if defined(NOPORTDOCS)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-setup.py
.endif
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py
do-configure:
cd ${WRKSRC} && ${CP} "${FILESDIR}/sndcs2.conf" "sndcs/config/sndcs2.conf"
post-install:
@${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
@${ECHO} " SaberNet DCS Client is now installed. "
@${ECHO} " Change the settings in ${PREFIX}/etc/sndcs/sndcs2.conf "
@${ECHO} " to suit your needs. "
@${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
.include <bsd.port.mk>