blob: d2f624a848eed32bde4259d7cc0eac3e8e977122 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# New ports collection makefile for: denemo
# Date created: 2001-02-24
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= denemo
PORTVERSION= 0.5.9
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= trevor@FreeBSD.org
COMMENT= Graphical score editor
LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml
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_BISON= yes
USE_GETOPT_LONG=yes
USE_GETTEXT= yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
pre-patch:
.for ii in analysis_highlighting.c easylyparser.c easylyparser.y \
lyparserfuncs.c lyparserfuncs.h main.c playback.c print.c
${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
${SED} -e "s:<wait.h:<sys/wait.h:g ; s:setkey:dsetkey:g" \
< ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii}
.endfor
pre-install:
${ECHO_CMD} bin/${PORTNAME} > ${PLIST}
.for i in ${SHARED}
${ECHO_CMD} share/denemo/$i >> ${PLIST}
.endfor
.for i in ${DOCS}
${ECHO_CMD} ${DOCDIR}/$i >> ${PLIST}
.endfor
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
${ECHO_CMD} @dirrm share/denemo >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/share/denemo
${INSTALL_PROGRAM} ${WRKSRC}/denemo ${PREFIX}/bin
.for i in ${SHARED}
${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|