38 lines
858 B
Makefile
38 lines
858 B
Makefile
# Created by: Alex Semenyaka <alex@rinet.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libdict
|
|
PORTVERSION= 0.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source treap_insert.pdf:doc \
|
|
avl_insert.pdf:doc empty.pdf:doc
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= rodrigo@bebik.net
|
|
COMMENT= Library providing access to ``dictionary'' data structures
|
|
|
|
USE_GMAKE= yes
|
|
MAKEFILE= GNUmakefile
|
|
USE_LDCONFIG= yes
|
|
|
|
NO_STAGE= yes
|
|
post-extract:
|
|
. for ___f in avl_insert.pdf empty.pdf treap_insert.pdf
|
|
@${CP} ${DISTDIR}/${___f} ${WRKSRC}/
|
|
. endfor
|
|
|
|
pre-install:
|
|
-@${MKDIR} ${PREFIX}/include/
|
|
-@${MKDIR} ${PREFIX}/lib/
|
|
.ifndef(NOPORTDOCS)
|
|
-@${MKDIR} ${DOCSDIR}
|
|
|
|
post-install:
|
|
. for ___f in avl_insert.pdf empty.pdf treap_insert.pdf
|
|
@${CP} ${WRKSRC}/${___f} ${DOCSDIR}
|
|
. endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|