2003-12-05 01:54:49 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: tipograf
|
|
|
|
# Date created: Oct 29, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tipograf
|
2004-02-02 19:25:14 +01:00
|
|
|
PORTVERSION= 0.5
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2003-12-05 01:54:49 +01:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= http://www.falk-henrich.de/download/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= GUI for a2ps
|
|
|
|
|
2004-01-27 03:48:33 +01:00
|
|
|
BUILD_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-letter
|
2003-12-05 01:54:49 +01:00
|
|
|
RUN_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-letter
|
|
|
|
|
|
|
|
USE_QT_VER= 3
|
2004-02-02 19:25:14 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
2003-12-05 01:54:49 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-02-02 19:25:14 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-12-05 01:54:49 +01:00
|
|
|
CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX}
|
|
|
|
|
2004-02-02 19:25:14 +01:00
|
|
|
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
|
|
|
|
QTCFGLIBS+= ${PTHREAD_LIBS}
|
2003-12-05 01:54:49 +01:00
|
|
|
|
|
|
|
post-patch:
|
2004-02-02 19:25:14 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-Wall -O0|@CXXFLAGS@|g' ${WRKSRC}/src/Makefile.in
|
2003-12-05 01:54:49 +01:00
|
|
|
|
2004-03-14 18:40:33 +01:00
|
|
|
pre-build:
|
|
|
|
.for file in about.h firststart.h help.h tipograf.h
|
|
|
|
@cd ${WRKSRC}/src && ${RM} -f ${file} && ${GMAKE} ${file}
|
|
|
|
.endfor
|
|
|
|
|
2003-12-05 01:54:49 +01:00
|
|
|
.include <bsd.port.mk>
|