1996-08-23 06:39:38 +00:00
|
|
|
# New ports collection makefile for: uulib
|
1996-12-11 23:03:55 +00:00
|
|
|
# Version Required: 0.5.9
|
1996-08-23 06:39:38 +00:00
|
|
|
# Date Created: 04 Aug 1996
|
|
|
|
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
|
|
|
|
#
|
1998-11-14 09:43:39 +00:00
|
|
|
# $Id: Makefile,v 1.16 1998/09/26 23:48:21 steve Exp $
|
1996-08-23 06:39:38 +00:00
|
|
|
#
|
|
|
|
|
1997-03-29 21:45:24 +00:00
|
|
|
DISTNAME= uudeview-0.5.13
|
|
|
|
PKGNAME= uulib-0.5.13
|
1997-04-26 23:55:25 +00:00
|
|
|
CATEGORIES= converters
|
1998-06-14 17:31:23 +00:00
|
|
|
MASTER_SITES= ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/ \
|
|
|
|
http://www.informatik.uni-frankfurt.de/~fp/uudeview/Apps/frank/
|
1996-08-23 06:39:38 +00:00
|
|
|
|
1997-11-14 09:46:21 +00:00
|
|
|
MAINTAINER= hoek@FreeBSD.ORG
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1996-08-23 06:39:38 +00:00
|
|
|
|
1997-03-29 21:45:24 +00:00
|
|
|
MAN3= uulib.3
|
1996-08-23 06:39:38 +00:00
|
|
|
|
1998-09-26 23:48:25 +00:00
|
|
|
ALL_TARGET= libuu.a libuu.so.${VERSION}
|
1997-11-14 09:46:21 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
VERSION= 1
|
|
|
|
.else
|
|
|
|
VERSION= 1.0
|
|
|
|
.endif
|
|
|
|
|
1997-11-14 09:46:21 +00:00
|
|
|
DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \
|
|
|
|
doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \
|
|
|
|
doc/td-v3.c doc/test.txt
|
1996-08-23 06:39:38 +00:00
|
|
|
|
|
|
|
do-install:
|
1998-09-26 23:48:25 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.${VERSION} ${PREFIX}/lib
|
|
|
|
${LN} -sf libuu.so.${VERSION} ${PREFIX}/lib/libuu.so
|
|
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1997-03-29 21:45:24 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
|
1997-04-01 18:53:30 +00:00
|
|
|
@/usr/bin/ranlib ${PREFIX}/lib/libuu.a
|
1997-03-29 21:45:24 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include/uu.h
|
|
|
|
${INSTALL_MAN} ${FILESDIR}/uulib.3 ${PREFIX}/man/man3
|
1996-08-23 06:39:38 +00:00
|
|
|
perl -pi -e '$$a = '\''${PREFIX}/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man3/uulib.3
|
1997-03-29 21:45:24 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@echo "===> Installing documentation for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/uulib
|
|
|
|
@${INSTALL_MAN} ${FILESDIR}/porting.notes ${PREFIX}/share/doc/uulib
|
|
|
|
.for docfile in ${DOCFILES}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/uulib
|
|
|
|
.endfor
|
1996-12-11 23:03:55 +00:00
|
|
|
.endif
|
1996-08-23 06:39:38 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|