2000-05-19 08:27:08 +02:00
|
|
|
# New ports collection makefile for: OpenJade
|
|
|
|
# Date created: May 19, 2000
|
|
|
|
# Whom: kuriyama
|
1997-06-22 22:28:13 +02:00
|
|
|
#
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1997-06-22 22:28:13 +02:00
|
|
|
#
|
|
|
|
|
2000-05-19 08:27:08 +02:00
|
|
|
PORTNAME= openjade
|
2001-02-05 17:35:26 +01:00
|
|
|
PORTVERSION= 1.3
|
2001-02-28 00:03:36 +01:00
|
|
|
PORTREVISION= 1
|
1997-06-22 22:28:13 +02:00
|
|
|
CATEGORIES= textproc
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1997-06-22 22:28:13 +02:00
|
|
|
|
2000-05-19 08:27:08 +02:00
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
1999-07-04 23:11:10 +02:00
|
|
|
|
2000-02-12 02:21:11 +01:00
|
|
|
USE_GMAKE= YES
|
2000-02-17 14:08:50 +01:00
|
|
|
USE_LIBTOOL= YES
|
1999-01-27 01:12:23 +01:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
|
2001-02-28 00:03:36 +01:00
|
|
|
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
|
|
|
|
--datadir=${PREFIX}/share/sgml/openjade
|
|
|
|
INSTALLS_SHLIB= yes
|
2000-02-11 02:52:21 +01:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
1997-06-29 11:49:49 +02:00
|
|
|
|
1999-01-27 01:12:23 +01:00
|
|
|
post-install:
|
2001-02-28 00:03:36 +01:00
|
|
|
@${MKDIR} ${PREFIX}/share/sgml/openjade
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/openjade
|
1997-06-22 22:28:13 +02:00
|
|
|
|
2001-02-28 00:03:36 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# This port is 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.
|
|
|
|
# The following sed does not reproduce the awk result. Odd.
|
|
|
|
# ${SED} -e 's/-m[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?//g' -e 's/-O[s2-9]+//g'
|
|
|
|
CFLAGS!= ${ECHO} "${CFLAGS}" | ${AWK} 'BEGIN \
|
|
|
|
{ RS="-m[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?|-O[s2-9]+" ; \
|
|
|
|
ORS="" } ; \
|
|
|
|
{ if (RT == "") { print $0 } else print }'
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|