mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Add LICENSE
- Switch to USES=localbase - Switch to options helpers
This commit is contained in:
parent
47d2c78f84
commit
ee1b52e2fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430447
@ -14,37 +14,44 @@ COMMENT= EZ Widget and Graphics Library
|
||||
LIB_DEPENDS= libtiff.so:graphics/tiff \
|
||||
libpng.so:graphics/png
|
||||
|
||||
LICENSE= LGPL20+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN_sparc64= does not compile on sparc64
|
||||
|
||||
USES= localbase
|
||||
USE_XORG= x11 xext
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LIBS+= -L${LOCALBASE}/lib
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
|
||||
|
||||
BROKEN_sparc64= Does not compile on sparc64
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include ".${CURDIR}/Makefile.manlinks"
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -r
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}/ps
|
||||
${INSTALL_DATA} ${WRKSRC}/include/EZ.h ${STAGEDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/libEZ.a ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_LIB} ${WRKSRC}/lib/libEZ.so.1 ${STAGEDIR}${PREFIX}/lib
|
||||
(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s libEZ.so.1 libEZ.so)
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man3/*.3 ${STAGEDIR}${MANPREFIX}/man/man3
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${EXAMPLESDIR} "! -name Makefile.in")
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} demos \
|
||||
${STAGEDIR}${EXAMPLESDIR} "! -name Makefile.in")
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ps
|
||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} "! -empty")
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/ps/*.ps ${STAGEDIR}${DOCSDIR}/ps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user