2003-08-28 11:16:04 +02:00
|
|
|
# New ports collection makefile for: libds
|
|
|
|
# Date created: 25 October 2002
|
|
|
|
# Whom: Peter Bozarov (kingofgib@users.sourceforge.net)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libds
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= devel
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-2.1
|
2003-08-28 11:16:04 +02:00
|
|
|
DISTNAME= libds-2.1
|
|
|
|
|
|
|
|
MAINTAINER= kingofgib@users.sourceforge.net
|
|
|
|
COMMENT= ANSI Generic Data Structures Library
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-08-28 11:16:04 +02:00
|
|
|
ALL_TARGET= gcc
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
MAN3= libds.3
|
|
|
|
HTML= avltree.html heap.html parray.html set.html hashtbl.html \
|
|
|
|
index.html queue.html stack.html
|
|
|
|
|
|
|
|
# Copy header file and libraries.
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ds.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libds.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libds.so ${PREFIX}/lib/libds.so.1
|
|
|
|
|
|
|
|
# Make symbolic link to the shared library
|
|
|
|
# Install man pages.
|
|
|
|
# Install HTML pages.
|
|
|
|
post-install:
|
|
|
|
${LN} -sf ${PREFIX}/lib/libds.so.1 ${PREFIX}/lib/libds.so
|
|
|
|
.for i in ${MAN3}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man3/${i}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/libds
|
|
|
|
.for i in ${HTML}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libds/${i}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|