2003-04-19 14:19:50 +00:00
|
|
|
# New ports collection makefile for: libdict
|
|
|
|
# Date created: Apr 19 2003
|
|
|
|
# Whom: Alex Semenyaka <alex@rinet.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libdict
|
2005-11-17 19:15:00 +00:00
|
|
|
PORTVERSION= 0.2.1
|
2003-04-19 14:19:50 +00:00
|
|
|
CATEGORIES= devel
|
2005-11-17 19:15:00 +00:00
|
|
|
MASTER_SITES= http://www.crazycoder.org/libdict/:source \
|
|
|
|
http://www.crazycoder.org/libdict/algorithms/:doc
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source treap_insert.pdf:doc \
|
|
|
|
avl_insert.pdf:doc empty.pdf:doc
|
2003-04-19 14:19:50 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
MAINTAINER= alexs@snark.rinet.ru
|
|
|
|
COMMENT= Library providing access to ``dictionary'' data structures
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
post-extract:
|
2005-11-17 19:15:00 +00:00
|
|
|
. for ___f in avl_insert.pdf empty.pdf treap_insert.pdf
|
2003-04-19 14:19:50 +00:00
|
|
|
@${CP} ${DISTDIR}/${___f} ${WRKSRC}/
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
-@${MKDIR} ${PREFIX}/include/
|
|
|
|
-@${MKDIR} ${PREFIX}/lib/
|
|
|
|
-@${MKDIR} ${DOCSDIR}
|
|
|
|
|
|
|
|
post-install:
|
2005-11-17 19:15:00 +00:00
|
|
|
. for ___f in avl_insert.pdf empty.pdf treap_insert.pdf
|
2003-04-19 14:19:50 +00:00
|
|
|
@${CP} ${WRKSRC}/${___f} ${DOCSDIR}
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|