blob: 0ef942a1d66130079aa95211c3f1b1135744c203 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: bglibs
# Date created: 03 Mar 2003
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= bglibs
PORTVERSION= 1.101
CATEGORIES= devel
MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= sergei@FreeBSD.org
COMMENT= One stop library package by Bruce Guenter
BROKEN= Fails self-tests
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
NOT_FOR_ARCHS= alpha
USE_GPG= yes
SIG_SUFFIX= .sig
USE_GCC= 3.2+
USE_PERL5= yes
USE_AUTOTOOLS= libtool:15:env
LDFLAGS?= -s
BGLIBS_INC= ${PREFIX}/include/${PORTNAME}
BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
DOCS= NEWS README TODO doc/html/*
MAN1= cli-generate.1
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${PREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-include
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|