51299a2f0c
Submitted by: Tim Vanderhoek <tim@X2296> with restructureing by me Partically closes PR: ports/2701
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# New ports collection makefile for: uulib
|
|
# Version Required: 0.5.9
|
|
# Date Created: 04 Aug 1996
|
|
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
|
|
#
|
|
# $Id: Makefile,v 1.5 1996/12/11 23:03:42 ache Exp $
|
|
#
|
|
|
|
DISTNAME= uudeview-0.5.13
|
|
PKGNAME= uulib-0.5.13
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.uni-frankfurt.de/pub/dist/frank/ \
|
|
http://www.uni-frankfurt.de/~fp/uudeview/Apps/frank/ \
|
|
ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/
|
|
|
|
MAINTAINER= ac199@freenet.hamilton.on.ca
|
|
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET= libuu.a
|
|
MAN3= uulib.3
|
|
|
|
DOCFILES+= doc/Makefile
|
|
DOCFILES+= doc/README
|
|
DOCFILES+= doc/binhex.fig
|
|
DOCFILES+= doc/library.ltx
|
|
DOCFILES+= doc/structure.fig
|
|
DOCFILES+= doc/td-v1.c
|
|
DOCFILES+= doc/td-v2.c
|
|
DOCFILES+= doc/td-v3.c
|
|
DOCFILES+= doc/test.txt
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
|
|
/usr/bin/ranlib ${PREFIX}/lib/libuu.a
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include/uu.h
|
|
${INSTALL_MAN} ${FILESDIR}/uulib.3 ${PREFIX}/man/man3
|
|
perl -pi -e '$$a = '\''${PREFIX}/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man3/uulib.3
|
|
.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
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|