1998-12-24 07:04:38 +00:00
|
|
|
# New ports collection makefile for: dcdflib
|
|
|
|
# Date created: 08 September 1998
|
|
|
|
# Whom: Anton Berezin <tobez@plab.ku.dk>
|
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1998-12-24 07:04:38 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= dcdflib.c
|
|
|
|
PORTVERSION= 1.1
|
1998-12-24 07:04:38 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://odin.mda.uth.tmc.edu/pub/source/
|
|
|
|
|
|
|
|
MAINTAINER= tobez@plab.ku.dk
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/dcdflib.c/src
|
|
|
|
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-16 10:38:50 +00:00
|
|
|
|
1998-12-24 07:04:38 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/dcdflib
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.chs ${PREFIX}/share/doc/dcdflib
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.fdoc ${PREFIX}/share/doc/dcdflib
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/dcdflib
|
|
|
|
.endif
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
@${LN} -sf libdcdflib.so.1.1 ${PREFIX}/lib/libdcdflib.so
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|