freebsd-ports/devel/bglibs/Makefile
John Marino d0bb05930a Reset the 99 ports still listed under sylvio@
Sylvio's last commit was 17 months ago, a full 5 months after all of his
ports could have been reset per policy.  Given the push to complete
staging (48 ports are still unstaged, something like 70+ have already
been staged by other committers) and given that PRs are automatically
assigned but never addressed, it's better just to reset all the ports and
PRs so that it's clear to others that these ports are free to maintain.

Approved by:	portmgr (implicit)
2014-06-11 18:55:29 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= bglibs
PORTVERSION= 1.106
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://untroubled.org/${PORTNAME}/archive/ \
http://untroubled.org/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= One stop library package by Bruce Guenter
LICENSE= LGPL21
NOT_FOR_ARCHS= alpha
USES= perl5
USE_PERL5= run
USE_AUTOTOOLS= libtool:env
BGLIBS_INC= ${PREFIX}/include/${PORTNAME}
BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
USE_LDCONFIG= ${BGLIBS_LIB}
DOCS= NEWS README TODO doc/html/*
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} '/main/s/^void/int/' ${WRKSRC}/sys/try*.c
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home
${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${STAGEDIR}${PREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${STAGEDIR}${BGLIBS_INC}" > ${WRKSRC}/conf-include
${ECHO_CMD} "${STAGEDIR}${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
@${SED} -i '' 's|${STAGEDIR}||' \
${STAGEDIR}${PREFIX}/lib/bglibs/libbg-sysdeps.la \
${STAGEDIR}${PREFIX}/lib/bglibs/libbg.la
selftest: build
cd ${WRKSRC} && ${SH} selftests.sh
.include <bsd.port.mk>