blob: 2ec3c4aa52ede4c7065cf1e1bf427d519e453b8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: denemo
# Date created: 2001-02-24
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= denemo
PORTVERSION= 0.5.5
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= trevor@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
intl.1:${PORTSDIR}/devel/gettext
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}
USE_GTK= yes
USE_X_PREFIX= yes
post-configure:
${PERL} -pi -e "s:module12:module12 -lgnugetopt:g" ${WRKSRC}/Makefile
pre-install:
${ECHO} bin/${PORTNAME} > ${PLIST}
.for i in ${SHARED}
${ECHO} share/denemo/$i >> ${PLIST}
.endfor
.for i in ${DOCS}
${ECHO} ${DOCDIR}/$i >> ${PLIST}
.endfor
${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
${ECHO} @dirrm share/denemo >> ${PLIST}
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>
|