2008-09-10 15:59:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.38 2008/09/10 13:59:43 gdt Exp $
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2005-08-12 21:29:29 +02:00
|
|
|
DISTNAME= pstoedit-3.41
|
2006-04-17 15:45:57 +02:00
|
|
|
PKGREVISION= 2
|
2000-07-18 09:46:40 +02:00
|
|
|
CATEGORIES= converters graphics print
|
2005-08-12 21:29:29 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pstoedit/}
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-05-07 15:18:26 +02:00
|
|
|
HOMEPAGE= http://www.pstoedit.net/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Convert PostScript / PDF into various vector graphic formats
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-09-10 15:59:43 +02:00
|
|
|
# man page indicates that there are many licenses and one has to read all
|
|
|
|
# the source files
|
|
|
|
LICENSE= unclear-license
|
|
|
|
RESTRICTED= license is unclear
|
2000-08-19 00:46:29 +02:00
|
|
|
RESTRICTED?= "The author writes: If you include this program on a CDROM, please send me a copy of the CD, or if it goes with a book, of the book."
|
2008-09-10 15:59:43 +02:00
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
2000-08-19 00:46:29 +02:00
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2005-11-28 07:41:20 +01:00
|
|
|
# XXX Avoid hard dependency on Ghostscript
|
|
|
|
#USE_TOOLS+= gs:run
|
|
|
|
|
2002-05-07 15:18:26 +02:00
|
|
|
USE_LIBTOOL= yes
|
2006-07-02 12:12:52 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2000-07-18 09:46:40 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS} -Dunix"
|
2005-08-19 17:49:52 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_GS=${LOCALBASE}/bin/gs
|
2002-05-07 15:18:26 +02:00
|
|
|
CONFIGURE_ARGS+=--datadir=${PREFIX}/share
|
2000-07-18 09:46:40 +02:00
|
|
|
CONFIGURE_ARGS+=--libdir=${PREFIX}/lib/pstoedit # plugin dir -- unused for now
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET=
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2004-06-15 13:38:00 +02:00
|
|
|
LIBS.SunOS+= -ldl
|
|
|
|
|
2003-05-07 01:03:10 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/pstoedit
|
|
|
|
HTMLDIR= ${PREFIX}/share/doc/html/pstoedit
|
2005-08-12 21:29:29 +02:00
|
|
|
DOCSRC= ${WRKSRC}/doc
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${HTMLDIR}
|
|
|
|
|
2000-07-18 09:46:40 +02:00
|
|
|
post-install:
|
2003-05-07 01:03:10 +02:00
|
|
|
for f in ${DOCSRC}/*.htm; do \
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_DATA} $${f} ${DESTDIR}${HTMLDIR}; \
|
2003-05-07 01:03:10 +02:00
|
|
|
done
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_DATA} ${DOCSRC}/readme.txt ${DESTDIR}${DOCDIR}
|
2000-07-18 09:46:40 +02:00
|
|
|
|
2004-04-16 00:55:56 +02:00
|
|
|
.include "../../graphics/plotutils/buildlink3.mk"
|
2000-07-18 09:46:40 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|