1999-04-04 18:09:57 +00:00
|
|
|
# New ports collection makefile for: libxpg4-ns
|
|
|
|
# Date created: 27 February 1999
|
|
|
|
# Whom: sada
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1999-04-04 18:09:57 +00:00
|
|
|
#
|
|
|
|
|
2000-07-13 15:30:41 +00:00
|
|
|
PORTNAME= libxpg4
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTVERSION= 3.3
|
1999-08-29 18:23:35 +00:00
|
|
|
CATEGORIES= www
|
1999-04-04 18:09:57 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
|
2000-06-29 07:03:02 +00:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= sada
|
2000-07-13 15:30:41 +00:00
|
|
|
PKGNAMESUFFIX= -ns
|
1999-04-04 18:09:57 +00:00
|
|
|
|
|
|
|
MAINTAINER= sada@FreeBSD.ORG
|
|
|
|
|
1999-09-11 09:39:46 +00:00
|
|
|
MAKE_ENV+= OBJFORMAT=aout SHLIB_MAJOR=2 SHLIB_MINOR=0
|
1999-04-04 18:09:57 +00:00
|
|
|
PORTOBJFORMAT= aout
|
|
|
|
|
|
|
|
LIBDIR= ${PREFIX}/lib/aout
|
|
|
|
SRCDIR= /usr/src
|
|
|
|
|
1999-09-10 23:07:16 +00:00
|
|
|
pre-build:
|
1999-09-11 09:39:46 +00:00
|
|
|
.if !exists(/usr/lib/aout/c++rt0.o)
|
1999-09-10 23:07:16 +00:00
|
|
|
@${CAT} ${FILESDIR}/message.nolib
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
|
|
|
|
1999-04-04 18:09:57 +00:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${LIBDIR}
|
|
|
|
|
2000-06-18 09:26:54 +00:00
|
|
|
post-install:
|
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${LIBDIR}
|
|
|
|
|
1999-04-04 18:09:57 +00:00
|
|
|
extract-from-freebsd: # only for port maintainer.
|
|
|
|
.if exists(/usr/src/lib)
|
1999-09-10 23:07:16 +00:00
|
|
|
@${RM} -rf ${WRKSRC}
|
|
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
@tar cfC - ${SRCDIR}/lib/libc locale | tar xfC - ${WRKSRC}
|
|
|
|
@${CP} ${SRCDIR}/lib/libxpg4/Makefile ${WRKSRC}/
|
1999-04-04 18:09:57 +00:00
|
|
|
.else
|
1999-09-10 23:07:16 +00:00
|
|
|
@${ECHO} You should INSTALL \"src/lib\" distribution"
|
1999-04-04 18:09:57 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
private-distribution: # only for port maintainer.
|
1999-09-10 23:07:16 +00:00
|
|
|
@(cd ${WRKDIR}; find ${DISTNAME} -type f | ${GREP} -v 'CVS' | ${SED} -e 's;^./;;' | tar czfCT ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} . -)
|
1999-04-04 18:09:57 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|