2006-04-14 17:09:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2006/04/14 21:09:04 sturm Exp $
|
1998-05-21 21:32:04 -04:00
|
|
|
|
2001-05-06 00:11:38 -04:00
|
|
|
COMMENT= "OO toolkit for SGML parsing and entity management"
|
|
|
|
|
2002-05-28 17:20:11 -04:00
|
|
|
DISTNAME= sp-1.3.4
|
2006-04-14 17:09:04 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
1998-05-21 21:32:04 -04:00
|
|
|
CATEGORIES= textproc
|
2002-05-28 17:20:11 -04:00
|
|
|
HOMEPAGE= http://www.jclark.com/sp/
|
|
|
|
|
2006-04-10 01:43:47 -04:00
|
|
|
MAINTAINER= Gerardo Santana Gomez Garrido <gerardo.santana@gmail.com>
|
1998-05-21 21:32:04 -04:00
|
|
|
|
2003-11-15 10:12:53 -05:00
|
|
|
# BSD-like
|
2000-06-09 20:02:38 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-06 19:23:20 -05:00
|
|
|
WANTLIB= c m stdc++
|
2000-06-09 20:02:38 -04:00
|
|
|
|
2002-05-28 17:20:11 -04:00
|
|
|
MASTER_SITES= ftp://ftp.jclark.com/pub/sp/
|
|
|
|
|
|
|
|
MAKE_FLAGS= CXX="${CXX}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS} -fno-implicit-templates -ansi" \
|
|
|
|
DEFINES="-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE \
|
|
|
|
-DSP_HAVE_SOCKET" \
|
|
|
|
RANLIB="${RANLIB}"
|
|
|
|
|
|
|
|
FAKE_FLAGS= prefix=${DESTDIR}${PREFIX} \
|
|
|
|
INSTALL="${INSTALL_PROGRAM}"
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2002-10-15 20:49:04 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2002-05-28 17:20:11 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${PREFIX}/share/doc/sp
|
|
|
|
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
|
|
${WRKBUILD}/lib/libsp.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/sp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/sp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/generic/* ${PREFIX}/include/sp
|
1998-05-21 21:32:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|