mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
422bce3414
my ports in the past 3 weeks while ports were broken on any 10.x machines, which means I'm unable to maintain them. So let people know that there's no available support for them until things are back to normal (which also means that anyone with spare time will be able to fix them without getting approval).
64 lines
1.4 KiB
Makefile
64 lines
1.4 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: elfio
|
|
# Date created: Jul 26, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= elfio
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/ELFIO-sources/ELFIO-${PORTVERSION}
|
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ library for reading and generating files in the ELF binary format
|
|
|
|
BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_AUTOTOOLS= aclocal automake autoconf libtool
|
|
AUTOMAKE_ARGS= -c -a
|
|
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
|
|
|
|
OPTIONS= EXAMPLES "Install sample programms" on
|
|
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_EXAMPLES)
|
|
PLIST_SUB+= EXAMPLES=""
|
|
.else
|
|
PLIST_SUB+= EXAMPLES="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@(${FIND} ${WRKSRC}/ -name Makefile.am | \
|
|
${XARGS} ${REINPLACE_CMD} -E -e 's,(libELFIO)\.a,.libs/\1.so,g')
|
|
|
|
pre-configure:
|
|
@(cd ${WRKSRC}/ && \
|
|
${LIBTOOLIZE} --force --copy --automake)
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS ChangeLog README
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.for f in elf11g.zip tutorial.docbook tutorial.pdf
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
.if !defined(WITHOUT_EXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${FIND} ${WRKSRC}/Examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \
|
|
${EXAMPLESDIR}/ \;
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|