2002-01-12 00:36:07 +01:00
|
|
|
# New ports collection makefile for: tuxcards
|
|
|
|
# Date created: 08 Jan 2002
|
2002-12-02 10:10:02 +01:00
|
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
2002-01-12 00:36:07 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tuxcards
|
2004-07-14 14:20:51 +02:00
|
|
|
PORTVERSION= 1.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2002-05-24 20:21:24 +02:00
|
|
|
CATEGORIES= deskutils
|
2004-07-14 14:20:51 +02:00
|
|
|
MASTER_SITES= http://www.tifskom.de/tux/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
2002-01-12 00:36:07 +01:00
|
|
|
|
2002-12-02 10:10:02 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Tool for managing notes within a hierarchical tree
|
2002-01-12 00:36:07 +01:00
|
|
|
|
2004-02-26 21:59:36 +01:00
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
|
2003-01-02 16:49:53 +01:00
|
|
|
USE_QT_VER= 3
|
2003-07-10 09:04:35 +02:00
|
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}"
|
2002-01-12 00:36:07 +01:00
|
|
|
|
2004-01-08 17:36:53 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# Add this condititonal while people might still have old versions
|
|
|
|
# of qmake, living in X11BASE, installed. This should go away eventually.
|
|
|
|
|
|
|
|
.if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++)
|
2004-07-14 14:20:51 +02:00
|
|
|
QMAKESPEC= ${X11BASE}/share/qt/mkspecs/freebsd-g++
|
2004-01-08 17:36:53 +01:00
|
|
|
.else
|
2004-07-14 14:20:51 +02:00
|
|
|
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
.endif
|
|
|
|
|
2004-01-08 17:36:53 +01:00
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
|
2004-07-14 14:20:51 +02:00
|
|
|
-spec ${QMAKESPEC} tuxcards.pro
|
2002-12-02 10:10:02 +01:00
|
|
|
|
2003-01-02 16:49:53 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/en/*.* ${DOCSDIR}
|
|
|
|
.endif
|
2002-01-12 00:36:07 +01:00
|
|
|
|
2004-01-08 17:36:53 +01:00
|
|
|
.include <bsd.port.post.mk>
|