2013-09-02 20:32:55 +00:00
|
|
|
# Created by: lon_kamikaze@gmx.de
|
2006-11-05 20:51:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= freehdl
|
2009-05-07 16:27:19 +00:00
|
|
|
PORTVERSION= 0.0.7
|
2006-11-05 20:51:06 +00:00
|
|
|
CATEGORIES= cad
|
2008-09-26 08:54:27 +00:00
|
|
|
MASTER_SITES= http://freehdl.seul.org/~enaroska/
|
2006-11-05 20:51:06 +00:00
|
|
|
|
2008-09-26 08:54:27 +00:00
|
|
|
MAINTAINER= kamikaze@bsdforen.de
|
2013-09-06 15:39:44 +00:00
|
|
|
COMMENT= Free VHDL simulator
|
2006-11-05 20:51:06 +00:00
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
2013-09-02 20:32:55 +00:00
|
|
|
USES= gmake perl5 pkgconfig
|
|
|
|
USE_GNOME= gnomehack
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-11-05 20:51:06 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN1= freehdl-config.1 \
|
|
|
|
freehdl-gennodes.1 \
|
|
|
|
freehdl-v2cc.1 \
|
|
|
|
gvhdl.1
|
|
|
|
MAN5= v2cc.libs.5
|
|
|
|
|
|
|
|
INFO= fire
|
|
|
|
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
|
|
|
PLIST_TMP= ${WRKDIR}/plist_tmp/
|
|
|
|
|
2006-11-12 21:50:10 +00:00
|
|
|
PLIST_REPL= ${SED} "s|share/${PORTNAME}|%%DATADIR%%|1"
|
|
|
|
|
2006-11-05 20:51:06 +00:00
|
|
|
plist: build
|
|
|
|
@${ECHO} "===> Rebuilding PLIST."
|
|
|
|
@${TOUCH} ${PLIST}
|
|
|
|
@${RM} ${PLIST}
|
|
|
|
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
|
|
|
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} \
|
2007-04-11 20:17:21 +00:00
|
|
|
prefix=${PLIST_TMP} \
|
|
|
|
mandir=${PLIST_TMP}/man \
|
|
|
|
infodir=${PLIST_TMP}/info \
|
|
|
|
${INSTALL_TARGET}
|
2006-11-12 21:50:10 +00:00
|
|
|
@${RM} -rf ${PLIST_TMP}/man ${PLIST_TMP}/info
|
|
|
|
@${FIND} -d ${PLIST_TMP} -not -type d \
|
2006-11-05 20:51:06 +00:00
|
|
|
| ${SED} "s|${PLIST_TMP}||1" \
|
2006-11-12 21:50:10 +00:00
|
|
|
| ${PLIST_REPL} >> ${PLIST}
|
|
|
|
@${FIND} -d ${PLIST_TMP} -type d -mindepth 2 \
|
2006-11-05 20:51:06 +00:00
|
|
|
| ${SED} "s|${PLIST_TMP}|@dirrm |1" \
|
2008-09-26 08:54:27 +00:00
|
|
|
| ${PLIST_REPL} \
|
|
|
|
| ${GREP} -E '%%DATADIR%%|freehdl' >> ${PLIST}
|
|
|
|
@${FIND} -d ${PLIST_TMP} -type d -mindepth 2 \
|
|
|
|
| ${SED} "s|${PLIST_TMP}|@dirrmtry |1" \
|
|
|
|
| ${PLIST_REPL} \
|
|
|
|
| ${GREP} -vE '%%DATADIR%%|freehdl' >> ${PLIST}
|
2006-11-05 20:51:06 +00:00
|
|
|
@${RM} -rf ${PLIST_TMP}
|
|
|
|
|
2013-09-20 15:58:41 +00:00
|
|
|
NO_STAGE= yes
|
2007-10-14 15:55:23 +00:00
|
|
|
.include <bsd.port.mk>
|