mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# Created by: kuriyama
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= OpenSP
|
|
PORTVERSION= 1.5.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/openjade/${PORTNAME:tl}/${PORTVERSION}
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= This package is a collection of SGML/XML tools called OpenSP
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
USE_LDCONFIG= yes
|
|
USES= gmake iconv perl5
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
|
|
--datadir=${PREFIX}/share/sgml/openjade \
|
|
--disable-doc-build
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
OPTIONS_SUB= yes
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
|
|
|
|
PORTDOCS= *.htm NEWS AUTHORS README ABOUT-NLS BUGS ChangeLog
|
|
|
|
# This port cannot be CFLAGS safe, using optimizations such as
|
|
# 'march=-mpentium -Os' produces core dumps with certain input files
|
|
# Therefore, we'd better remove all machine optimizations and any -O
|
|
# other than -O{0,1,}. Idea taken from palm/prc-tools-gcc.
|
|
CPPFLAGS:= -O ${CFLAGS:N-O*:N-m*}
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS:N\*.htm} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|