aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/mapagi/Makefile49
-rw-r--r--print/mapagi/distinfo1
-rw-r--r--print/mapagi/pkg-descr11
-rw-r--r--print/mapagi/pkg-plist7
5 files changed, 69 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 13d1838d8c47..e91d08f78f11 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -100,6 +100,7 @@
SUBDIR += lyx
SUBDIR += magicfilter
SUBDIR += makeindex
+ SUBDIR += mapagi
SUBDIR += mgv
SUBDIR += mp-a4
SUBDIR += mp-letter
diff --git a/print/mapagi/Makefile b/print/mapagi/Makefile
new file mode 100644
index 000000000000..ce6dafc74b6d
--- /dev/null
+++ b/print/mapagi/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: Mapagi
+# Date created: Mon Oct 27 02:39:47 UTC 2003
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mapagi
+PORTVERSION= 0.6
+CATEGORIES= print kde
+MASTER_SITES= http://members.ferrara.linux.it/calicant/mapagi/
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= Pagination utility that prints your images/comics in 'in folio' format
+
+USE_QT_VER= 3
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+QMAKE?= ${X11BASE}/bin/qmake
+QTDIR?= ${QT_PREFIX}
+
+CONFIGURE_ENV+= QTDIR=${QTDIR}
+MAKE_ENV+= QTDIR=${QTDIR}
+
+DOC_FILES= COPYING ChangeLog INSTALL README TODO
+
+do-configure:
+ @cd ${CONFIGURE_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${QMAKE}
+
+post-configure:
+# fix C{C,XX} locations
+ @${REINPLACE_CMD} -E \
+ -e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
+ -e 's|^(CXX[[:space:]]*=).*$$|\1${CXX}|' \
+ -e 's|^(LINK[[:space:]]*=).*$$|\1${CXX}|' \
+ ${BUILD_WRKSRC}/${MAKEFILE}
+
+do-install:
+ @${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_DATA} ${INSTALL_WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif # NOPORTDOCS
+
+.include <bsd.port.mk>
diff --git a/print/mapagi/distinfo b/print/mapagi/distinfo
new file mode 100644
index 000000000000..a5120a135abd
--- /dev/null
+++ b/print/mapagi/distinfo
@@ -0,0 +1 @@
+MD5 (mapagi-0.6.tar.gz) = 35f1965e12bb11636e4339fc0496c3be
diff --git a/print/mapagi/pkg-descr b/print/mapagi/pkg-descr
new file mode 100644
index 000000000000..24fecf8980af
--- /dev/null
+++ b/print/mapagi/pkg-descr
@@ -0,0 +1,11 @@
+Mapagi is a pagination utility that prints your images/comics in
+'in folio' format.
+
+To produce a book printed in folio format, the sheet of paper is
+folded once, producing 2 leaves. Each leaf has 2 sides, the recto
+(front) and the verso (back).
+
+Page size format is "Tankobon", probably well known to anime/manga
+fans.
+
+WWW: http://members.ferrara.linux.it/calicant/mapagi/
diff --git a/print/mapagi/pkg-plist b/print/mapagi/pkg-plist
new file mode 100644
index 000000000000..7886428293ac
--- /dev/null
+++ b/print/mapagi/pkg-plist
@@ -0,0 +1,7 @@
+bin/mapagi
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/README
+%%DOCSDIR%%/TODO
+@dirrm %%DOCSDIR%%