2013-09-20 19:53:09 +00:00
|
|
|
# Created by: Bruce M Simpson
|
2003-12-08 19:00:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ficl
|
2012-03-22 12:07:14 +00:00
|
|
|
PORTVERSION= 4.1.0
|
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-all/${PORTNAME}${PORTVERSION:C/([[:digit:]]+\.[[:digit:]]+)\.0/\1/}
|
2003-12-08 19:00:36 +00:00
|
|
|
|
2014-01-05 15:43:27 +00:00
|
|
|
MAINTAINER= pavelivolkov@gmail.com
|
2003-12-08 19:00:36 +00:00
|
|
|
COMMENT= Forth Inspired Command Language
|
|
|
|
|
2012-03-22 12:07:14 +00:00
|
|
|
LICENSE= unknown
|
|
|
|
LICENSE_NAME= BSD-style
|
|
|
|
LICENSE_TEXT= Description of the license can be obtained from the following URL: http://ficl.sourceforge.net/license.html
|
2013-03-02 03:55:25 +00:00
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
2003-12-08 19:00:36 +00:00
|
|
|
|
2014-01-05 15:43:27 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2012-03-22 12:07:14 +00:00
|
|
|
MAKE_JOBS_UNSAFE= YES
|
2003-12-08 19:00:36 +00:00
|
|
|
|
2012-03-22 12:07:14 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
ONLY_FOR_ARCHS_REASON= this port is not tested on anything other than i386 and amd64
|
2003-12-08 19:00:36 +00:00
|
|
|
|
2012-03-22 12:07:14 +00:00
|
|
|
USE_LDCONFIG= YES
|
2003-12-08 19:00:36 +00:00
|
|
|
|
2012-03-22 12:07:14 +00:00
|
|
|
ALL_TARGET= lib ${PORTNAME}
|
2003-12-08 19:00:36 +00:00
|
|
|
|
2012-03-22 12:07:14 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.${PORTVERSION} lib/lib${PORTNAME}.a
|
|
|
|
|
|
|
|
PORTDOCS= *
|
2003-12-08 19:00:36 +00:00
|
|
|
|
2014-01-05 15:43:27 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2003-12-08 19:00:36 +00:00
|
|
|
do-install:
|
2014-01-05 15:43:27 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib
|
|
|
|
cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf lib${PORTNAME}.so.${PORTVERSION} lib${PORTNAME}.so
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/articles ${STAGEDIR}${DOCSDIR}/graphics; \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.ico ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/articles/* ${STAGEDIR}${DOCSDIR}/articles
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/graphics/* ${STAGEDIR}${DOCSDIR}/graphics
|
2003-12-08 19:00:36 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|