fix dependencies
support NOPORTDOCS PR: 42737 Submitted by: Ports Fury
This commit is contained in:
parent
6b60bc9006
commit
4173f404fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66749
@ -7,21 +7,24 @@
|
||||
|
||||
PORTNAME= pstoedit
|
||||
PORTVERSION= 3.32
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics print
|
||||
MASTER_SITES= http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
|
||||
LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming \
|
||||
plot.4:${PORTSDIR}/graphics/plotutils \
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
|
||||
gs:${PORTSDIR}/print/ghostscript-gnu
|
||||
LIB_DEPENDS= Magick++.5:${PORTSDIR}/graphics/ImageMagick \
|
||||
ming.3:${PORTSDIR}/graphics/ming \
|
||||
plotter.4:${PORTSDIR}/graphics/plotutils
|
||||
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
|
||||
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
|
||||
gs:${PORTSDIR}/print/ghostscript-gnu
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
MAN1= pstoedit.1
|
||||
|
||||
@ -30,10 +33,12 @@ CPPFLAGS= -I${LOCALBASE}/include/ming -I${LOCALBASE}/include \
|
||||
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${MANPREFIX}/man/man1
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/changelog.htm ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/index.htm ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/pstoedit.htm ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,6 +17,9 @@ lib/libpstoedit.so.0
|
||||
lib/pstoedit/libp2edrvlplot.a
|
||||
lib/pstoedit/libp2edrvlplot.so
|
||||
lib/pstoedit/libp2edrvlplot.so.0
|
||||
lib/pstoedit/libp2edrvmagick++.a
|
||||
lib/pstoedit/libp2edrvmagick++.so
|
||||
lib/pstoedit/libp2edrvmagick++.so.0
|
||||
lib/pstoedit/libp2edrvstd.a
|
||||
lib/pstoedit/libp2edrvstd.so
|
||||
lib/pstoedit/libp2edrvstd.so.0
|
||||
@ -24,7 +27,9 @@ lib/pstoedit/libp2edrvswf.a
|
||||
lib/pstoedit/libp2edrvswf.so
|
||||
lib/pstoedit/libp2edrvswf.so.0
|
||||
libdata/pkgconfig/pstoedit.pc
|
||||
share/doc/pstoedit/pstoedit.htm
|
||||
%%PORTDOCS%%share/doc/pstoedit/changelog.htm
|
||||
%%PORTDOCS%%share/doc/pstoedit/index.htm
|
||||
%%PORTDOCS%%share/doc/pstoedit/pstoedit.htm
|
||||
share/pstoedit/latex2e.fmp
|
||||
share/pstoedit/mpost.fmp
|
||||
share/pstoedit/safer.ps
|
||||
@ -33,6 +38,6 @@ share/pstoedit/swffonts/default.fdb
|
||||
share/pstoedit/wemf.fmp
|
||||
@dirrm share/pstoedit/swffonts
|
||||
@dirrm share/pstoedit
|
||||
@dirrm share/doc/pstoedit
|
||||
%%PORTDOCS%%@dirrm share/doc/pstoedit
|
||||
@dirrm lib/pstoedit
|
||||
@dirrm include/pstoedit
|
||||
|
Loading…
Reference in New Issue
Block a user