|
Lines 1-9
Link Here
|
| 1 |
# New ports collection makefile for: lash |
1 |
# Created by: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl> |
| 2 |
# Date created: 2007-01-13 |
|
|
| 3 |
# Whom: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl> |
| 4 |
# |
| 5 |
# $FreeBSD: ports/audio/lash/Makefile,v 1.21 2012/08/18 21:23:24 danfe Exp $ |
2 |
# $FreeBSD: ports/audio/lash/Makefile,v 1.21 2012/08/18 21:23:24 danfe Exp $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= lash |
4 |
PORTNAME= lash |
| 9 |
PORTVERSION= 0.5.4 |
5 |
PORTVERSION= 0.5.4 |
|
Lines 18-54
Link Here
|
| 18 |
LICENSE_COMB= dual |
14 |
LICENSE_COMB= dual |
| 19 |
|
15 |
|
| 20 |
LIB_DEPENDS= jack:${PORTSDIR}/audio/jack \ |
16 |
LIB_DEPENDS= jack:${PORTSDIR}/audio/jack \ |
| 21 |
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \ |
17 |
dssialsacompat:${PORTSDIR}/audio/libdssialsacompat \ |
| 22 |
dssialsacompat:${PORTSDIR}/audio/libdssialsacompat |
18 |
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid |
| 23 |
|
19 |
|
| 24 |
GNU_CONFIGURE= yes |
20 |
OPTIONS_DEFINE= READLINE DOCS |
|
|
21 |
OPTIONS_DEFAULT=READLINE |
| 22 |
READLINE_DESC= Enable readline support |
| 23 |
|
| 24 |
USE_GNOME= gnomehack gtk20 libxml2 |
| 25 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
|
|
26 |
GNU_CONFIGURE= yes |
| 26 |
CONFIGURE_ARGS= --disable-alsa-midi |
27 |
CONFIGURE_ARGS= --disable-alsa-midi |
| 27 |
USE_GNOME= gnomehack gtk20 libxml2 |
|
|
| 28 |
USE_LDCONFIG= yes |
28 |
USE_LDCONFIG= yes |
| 29 |
MAKE_JOBS_SAFE= yes |
29 |
MAKE_JOBS_SAFE= yes |
| 30 |
|
30 |
|
| 31 |
CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include |
31 |
CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include |
| 32 |
LDFLAGS+= -L${LOCALBASE}/lib |
32 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 33 |
|
33 |
|
| 34 |
PORTDOCS= * |
|
|
| 35 |
|
| 36 |
.include <bsd.port.options.mk> |
34 |
.include <bsd.port.options.mk> |
| 37 |
|
35 |
|
|
|
36 |
.if ${PORT_OPTIONS:MREADLINE} |
| 37 |
USE_READLINE= yes |
| 38 |
PLIST_SUB+= READLINE="" |
| 39 |
.else |
| 40 |
CONFIGURE_ENV+= vl_cv_lib_readline=no |
| 41 |
PLIST_SUB+= READLINE="@comment " |
| 42 |
.endif |
| 43 |
|
| 38 |
.if ${PORT_OPTIONS:MDOCS} |
44 |
.if ${PORT_OPTIONS:MDOCS} |
| 39 |
BUILD_DEPENDS= texi2html:${PORTSDIR}/textproc/texi2html |
45 |
BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html |
|
|
46 |
.else |
| 47 |
CONFIGURE_ENV+= ac_cv_prog_lash_texi2html=no |
| 40 |
.endif |
48 |
.endif |
| 41 |
|
49 |
|
| 42 |
post-extract: |
50 |
post-patch: |
| 43 |
@${REINPLACE_CMD} -e 's|texi2html --number|texi2html|' \ |
51 |
@${REINPLACE_CMD} -e \ |
| 44 |
${WRKSRC}/docs/Makefile.in |
52 |
'/if test/s|==|=|' ${WRKSRC}/configure |
|
|
53 |
@${REINPLACE_CMD} -e \ |
| 54 |
'/texi2html/s|--number||' ${WRKSRC}/docs/Makefile.in |
| 45 |
|
55 |
|
| 46 |
post-install: |
56 |
post-install: |
| 47 |
.if ${PORT_OPTIONS:MDOCS} |
57 |
.if ${PORT_OPTIONS:MDOCS} |
| 48 |
@${MKDIR} ${DOCSDIR} |
58 |
@${MKDIR} ${DOCSDIR} |
| 49 |
${INSTALL_DATA} \ |
59 |
cd ${WRKSRC}/docs/lash-manual-html-one-page \ |
| 50 |
${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html \ |
60 |
&& ${INSTALL_DATA} lash-manual.html ${DOCSDIR} |
| 51 |
${DOCSDIR} |
|
|
| 52 |
.endif |
61 |
.endif |
| 53 |
|
62 |
|
| 54 |
.include <bsd.port.mk> |
63 |
.include <bsd.port.mk> |