2006-11-05 20:51:06 +00:00
|
|
|
# New ports collection makefile for: freehdl
|
|
|
|
# Date created: 19 Oct 2006
|
|
|
|
# Whom: lon_kamikaze@gmx.de
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= freehdl
|
2008-09-26 08:54:27 +00:00
|
|
|
PORTVERSION= 0.0.6
|
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
|
2006-11-05 20:51:06 +00:00
|
|
|
COMMENT= A free VHDL simulator
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_PERL5= yes
|
2008-09-26 08:54:27 +00:00
|
|
|
USE_GNOME= gnomehack \
|
|
|
|
pkgconfig
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-11-05 20:51:06 +00:00
|
|
|
HAS_CONFIGURE= yes
|
- 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 17:56:05 +00:00
|
|
|
CONFIGURE_ARGS= --infodir=${PREFIX}/info \
|
|
|
|
--mandir=${MANPREFIX}/man
|
2006-11-05 20:51:06 +00:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
2007-10-14 15:55:23 +00:00
|
|
|
.include <bsd.port.mk>
|