1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/libxpg4-ns/Makefile
Satoshi Asami ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: libxpg4-ns
# Date created: 27 February 1999
# Whom: sada
#
# $FreeBSD$
#
PORTNAME= libxpg4-ns
PORTVERSION= 3.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
http://people.FreeBSD.org/~sada/distfiles/
DISTNAME= libxpg4-3.3
MAINTAINER= sada@FreeBSD.ORG
INSTALLS_SHLIB= yes
MAKE_ENV+= OBJFORMAT=aout SHLIB_MAJOR=2 SHLIB_MINOR=0
PORTOBJFORMAT= aout
LIBDIR= ${PREFIX}/lib/aout
SRCDIR= /usr/src
pre-build:
.if !exists(/usr/lib/aout/c++rt0.o)
@${CAT} ${FILESDIR}/message.nolib
@${FALSE}
.endif
pre-install:
${MKDIR} ${LIBDIR}
extract-from-freebsd: # only for port maintainer.
.if exists(/usr/src/lib)
@${RM} -rf ${WRKSRC}
@${MKDIR} ${WRKSRC}
@tar cfC - ${SRCDIR}/lib/libc locale | tar xfC - ${WRKSRC}
@${CP} ${SRCDIR}/lib/libxpg4/Makefile ${WRKSRC}/
.else
@${ECHO} You should INSTALL \"src/lib\" distribution"
.endif
private-distribution: # only for port maintainer.
@(cd ${WRKDIR}; find ${DISTNAME} -type f | ${GREP} -v 'CVS' | ${SED} -e 's;^./;;' | tar czfCT ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} . -)
.include <bsd.port.mk>