2001-02-26 01:54:16 +00:00
|
|
|
# New ports collection makefile for: denemo
|
|
|
|
# Date created: 2001-02-24
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= denemo
|
2002-05-26 15:37:11 +00:00
|
|
|
PORTVERSION= 0.5.9
|
2001-02-26 01:54:16 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
|
2002-08-01 16:22:41 +00:00
|
|
|
intl.4:${PORTSDIR}/devel/gettext \
|
2002-01-10 04:12:16 +00:00
|
|
|
xml.5:${PORTSDIR}/textproc/libxml
|
2001-02-26 01:54:16 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
SHARED= denemo.conf denemo.keymaprc english.keymaprc french.keymaprc
|
|
|
|
DOCS= AUTHORS ChangeLog DESIGN GOALS NEWS README TODO
|
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
2002-08-31 00:13:25 +00:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gtk12
|
2001-02-26 01:54:16 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${PERL} -pi -e "s:module12:module12 -lgnugetopt:g" ${WRKSRC}/Makefile
|
2002-01-10 04:12:16 +00:00
|
|
|
${PERL} -pi -e "s:<wait.h:<sys/wait.h:g" ${WRKSRC}/*.c
|
2001-02-26 01:54:16 +00:00
|
|
|
|
|
|
|
pre-install:
|
2002-01-29 09:33:26 +00:00
|
|
|
${ECHO_CMD} bin/${PORTNAME} > ${PLIST}
|
2001-02-26 01:54:16 +00:00
|
|
|
.for i in ${SHARED}
|
2002-01-29 09:33:26 +00:00
|
|
|
${ECHO_CMD} share/denemo/$i >> ${PLIST}
|
2001-02-26 01:54:16 +00:00
|
|
|
.endfor
|
|
|
|
.for i in ${DOCS}
|
2002-01-29 09:33:26 +00:00
|
|
|
${ECHO_CMD} ${DOCDIR}/$i >> ${PLIST}
|
2001-02-26 01:54:16 +00:00
|
|
|
.endfor
|
2002-01-29 09:33:26 +00:00
|
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
|
|
|
${ECHO_CMD} @dirrm share/denemo >> ${PLIST}
|
2001-02-26 01:54:16 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/denemo
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/denemo ${PREFIX}/bin
|
|
|
|
.for i in ${SHARED}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/denemo
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
|
|
.for i in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${DOCDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|