1996-08-23 08:39:38 +02:00
|
|
|
# New ports collection makefile for: uulib
|
|
|
|
# Date Created: 04 Aug 1996
|
|
|
|
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1996-08-23 08:39:38 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= uulib
|
2002-09-02 05:49:58 +02:00
|
|
|
PORTVERSION= 0.5.18
|
1997-04-27 01:55:25 +02:00
|
|
|
CATEGORIES= converters
|
2002-09-02 05:49:58 +02:00
|
|
|
MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
|
2000-04-09 01:24:42 +02:00
|
|
|
DISTNAME= uudeview-${PORTVERSION}
|
1996-08-23 08:39:38 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= hoek@FreeBSD.org
|
1997-11-14 10:46:21 +01:00
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
1996-08-23 08:39:38 +02:00
|
|
|
|
1997-03-29 22:45:24 +01:00
|
|
|
MAN3= uulib.3
|
1996-08-23 08:39:38 +02:00
|
|
|
|
1998-09-27 01:48:25 +02:00
|
|
|
ALL_TARGET= libuu.a libuu.so.${VERSION}
|
1997-11-14 10:46:21 +01:00
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
2002-09-02 05:49:58 +02:00
|
|
|
VERSION= 2
|
1998-11-14 10:43:39 +01:00
|
|
|
.else
|
2002-09-02 05:49:58 +02:00
|
|
|
VERSION= 2.0
|
1998-11-14 10:43:39 +01:00
|
|
|
.endif
|
|
|
|
|
2002-09-02 05:49:58 +02:00
|
|
|
DOCFILES= COPYING HISTORY doc/Makefile doc/README doc/binhex.fig \
|
1997-11-14 10:46:21 +01:00
|
|
|
doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \
|
|
|
|
doc/td-v3.c doc/test.txt
|
1996-08-23 08:39:38 +02:00
|
|
|
|
|
|
|
do-install:
|
1998-09-27 01:48:25 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.${VERSION} ${PREFIX}/lib
|
|
|
|
${LN} -sf libuu.so.${VERSION} ${PREFIX}/lib/libuu.so
|
1997-03-29 22:45:24 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
|
1997-04-01 20:53:30 +02:00
|
|
|
@/usr/bin/ranlib ${PREFIX}/lib/libuu.a
|
1999-02-11 10:16:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include
|
1997-03-29 22:45:24 +01:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/uulib.3 ${PREFIX}/man/man3
|
2001-09-04 01:09:04 +02:00
|
|
|
${PERL} -pi -e '$$a = '\''${PREFIX}/'\''; $$a =~ s/([^\w\/])/\\$$1/g; \
|
|
|
|
s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man3/uulib.3
|
1997-03-29 22:45:24 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-08-27 23:14:04 +02:00
|
|
|
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
1997-03-29 22:45:24 +01:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/uulib
|
2001-09-04 01:09:04 +02:00
|
|
|
@${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR}
|
1997-03-29 22:45:24 +01:00
|
|
|
.for docfile in ${DOCFILES}
|
2001-09-04 01:09:04 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
1997-03-29 22:45:24 +01:00
|
|
|
.endfor
|
1996-12-12 00:03:55 +01:00
|
|
|
.endif
|
1996-08-23 08:39:38 +02:00
|
|
|
|
1998-11-14 10:43:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|