You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
d7080a50bc
[skip ci] Closes: https://trac.macports.org/ticket/72254
53 lines
1.8 KiB
Tcl
53 lines
1.8 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name rbmake
|
|
version 1.2
|
|
revision 10
|
|
checksums rmd160 a9731ac79a7f25c7f8e887f656845beb6ba859bb \
|
|
sha256 6c8ced3d9e98e742de5d2e881b28f42e81aa5cf0183253df1ea2d9b09dc86956 \
|
|
size 294130
|
|
|
|
categories textproc
|
|
license Artistic-1 Permissive
|
|
maintainers nomaintainer
|
|
description "Book maker" for the Rocket eBook.
|
|
homepage http://rbmake.sourceforge.net/
|
|
master_sites sourceforge:project/${name}/${name}-src/${version}
|
|
|
|
long_description \
|
|
Rbmake is a "book maker" for the Rocket eBook. It consists of a set of \
|
|
commandline tools that assemble or disassemble .rb files -- the book \
|
|
format that is native to the ReB. The C code also contains a library of \
|
|
routines that can be linked into other applications.
|
|
|
|
depends_lib port:libxml2 \
|
|
port:pcre \
|
|
path:include/turbojpeg.h:libjpeg-turbo \
|
|
port:libpng \
|
|
port:zlib
|
|
|
|
patchfiles implicit.patch \
|
|
stdbool.patch \
|
|
xml2-config-dynamic.patch \
|
|
libpng-1.5.patch
|
|
|
|
post-patch {
|
|
# Fix: make: autoheader: No such file or directory
|
|
touch -r ${worksrcpath}/config-h.in ${worksrcpath}/configure
|
|
}
|
|
|
|
configure.args --mandir=${prefix}/share/man \
|
|
ac_cv_lib_wwwutils_HTAssocList_new=no \
|
|
ac_cv_path_LIBWWW_CONFIG=:
|
|
|
|
# CPPFLAGS and LDFLAGS appear in the wrong place on the build line, but
|
|
# the build system already inserts the correct flags on its own later.
|
|
configure.cppflags-delete -I${prefix}/include
|
|
configure.ldflags-delete -L${prefix}/lib
|
|
|
|
# For stdbool.h
|
|
configure.cflags-append \
|
|
-std=c99
|