aboutsummaryrefslogtreecommitdiff
path: root/print/tipograf
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-02 18:25:14 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-02 18:25:14 +0000
commit95cb2cca2ca24c38df58a27731a47ad5ff6deb35 (patch)
treee5c1b31804b433c9b9d3181f6d5355efb87e87ff /print/tipograf
parentb45959ed9f62b74155017f90e0f668ad7eb513f2 (diff)
downloadports-95cb2cca2ca24c38df58a27731a47ad5ff6deb35.tar.gz
ports-95cb2cca2ca24c38df58a27731a47ad5ff6deb35.zip
Notes
Diffstat (limited to 'print/tipograf')
-rw-r--r--print/tipograf/Makefile18
-rw-r--r--print/tipograf/distinfo4
-rw-r--r--print/tipograf/pkg-plist8
3 files changed, 14 insertions, 16 deletions
diff --git a/print/tipograf/Makefile b/print/tipograf/Makefile
index de1936b729db..b572ab827667 100644
--- a/print/tipograf/Makefile
+++ b/print/tipograf/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= tipograf
-PORTVERSION= 0.4
-PORTREVISION= 1
+PORTVERSION= 0.5
CATEGORIES= print
MASTER_SITES= http://www.falk-henrich.de/download/
@@ -18,19 +17,18 @@ COMMENT= GUI for a2ps
BUILD_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-letter
RUN_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-letter
-USE_REINPLACE= yes
USE_QT_VER= 3
+USE_REINPLACE= yes
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX}
-USE_GMAKE= yes
-post-extract:
- @(cd ${WRKSRC}/src && ${TOUCH} *.ui)
+QTCPPFLAGS+= ${PTHREAD_CFLAGS}
+QTCFGLIBS+= ${PTHREAD_LIBS}
post-patch:
- @${REINPLACE_CMD} -e "s|-lqt|-lqt-mt|g" \
- -e "s|qt.so.3|qt-mt.so.3|g" \
- -e "s|qt.so|qt-mt.so|g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|-Wall -O0|@CXXFLAGS@|g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
diff --git a/print/tipograf/distinfo b/print/tipograf/distinfo
index c6f1c2609ff0..4d7541033092 100644
--- a/print/tipograf/distinfo
+++ b/print/tipograf/distinfo
@@ -1,2 +1,2 @@
-MD5 (tipograf-0.4.tar.gz) = abe1290e416c8a2a2312a8fbc9a5fd6b
-SIZE (tipograf-0.4.tar.gz) = 211698
+MD5 (tipograf-0.5.tar.gz) = 241c942eb5acfb2ba55da4d672f14942
+SIZE (tipograf-0.5.tar.gz) = 230020
diff --git a/print/tipograf/pkg-plist b/print/tipograf/pkg-plist
index 0372728482e7..f0bd15025ba2 100644
--- a/print/tipograf/pkg-plist
+++ b/print/tipograf/pkg-plist
@@ -1,7 +1,4 @@
bin/tipograf
-%%DATADIR%%/trans/tipograf_de.qm
-@dirrm %%DATADIR%%/trans
-@dirrm %%DATADIR%%
%%DOCSDIR%%/benutzerhandbuch.dvi
%%DOCSDIR%%/benutzerhandbuch.ps
%%DOCSDIR%%/html/de/benutzerhandbuch.css
@@ -26,7 +23,10 @@ bin/tipograf
%%DOCSDIR%%/html/en/userguide.html
%%DOCSDIR%%/userguide.dvi
%%DOCSDIR%%/userguide.ps
-@dirrm %%DOCSDIR%%/html/de
+%%DATADIR%%/trans/tipograf_de.qm
+@dirrm %%DATADIR%%/trans
+@dirrm %%DATADIR%%
@dirrm %%DOCSDIR%%/html/en
+@dirrm %%DOCSDIR%%/html/de
@dirrm %%DOCSDIR%%/html
@dirrm %%DOCSDIR%%