Lines 25-38
Link Here
|
25 |
MAN1_EN= aconnect.1 alsactl.1 alsamixer.1 amidi.1 amixer.1 aplay.1 aplaymidi.1 \ |
25 |
MAN1_EN= aconnect.1 alsactl.1 alsamixer.1 amidi.1 amixer.1 aplay.1 aplaymidi.1 \ |
26 |
arecordmidi.1 aseqdump.1 aseqnet.1 iecset.1 speaker-test.1 |
26 |
arecordmidi.1 aseqdump.1 aseqnet.1 iecset.1 speaker-test.1 |
27 |
MAN8= alsaconf.8 |
27 |
MAN8= alsaconf.8 |
28 |
MLINKS_EN= aplay.1 arecord.1 |
28 |
MLINKS= aplay.1 arecord.1 |
29 |
|
29 |
|
30 |
OPTIONS= XMLTO "Generate alsactl_init(7) man page using xmlto(1)" On |
30 |
OPTIONS= XMLTO "Generate alsactl_init(7) man page using xmlto(1)" On |
31 |
|
31 |
|
32 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.options.mk> |
33 |
|
|
|
34 |
# workaround for MLINKS_EN |
35 |
PLIST_FILES+= man/man1/arecord.1${MANEXT} |
36 |
|
33 |
|
37 |
.if defined(WITH_XMLTO) |
34 |
.if defined(WITH_XMLTO) |
38 |
BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto |
35 |
BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto |
Lines 59-72
Link Here
|
59 |
-e 's|/etc/asound\.conf|${LOCALBASE}&|g' {} + |
56 |
-e 's|/etc/asound\.conf|${LOCALBASE}&|g' {} + |
60 |
${REINPLACE_CMD} 's|/etc/asound\.state|${PREFIX}&|g' \ |
57 |
${REINPLACE_CMD} 's|/etc/asound\.state|${PREFIX}&|g' \ |
61 |
${WRKSRC}/alsactl/alsactl.[1c] |
58 |
${WRKSRC}/alsactl/alsactl.[1c] |
62 |
${REINPLACE_CMD} -e '/man_MANS/s/arecord\.1//' \ |
|
|
63 |
-e '/install-data-hook:/,/^[[:space:]]*$$/d' \ |
64 |
${WRKSRC}/aplay/Makefile.in |
65 |
|
66 |
# workaround for MLINKS_EN |
67 |
post-install: |
68 |
cd ${MAN1PREFIX}/man/man1 && \ |
69 |
${LN} -sf ${MLINKS_EN:C/\.([[:digit:]])/.\1${MANEXT}/g} |
70 |
|
71 |
|
59 |
|
72 |
.include <bsd.port.post.mk> |
60 |
.include <bsd.port.mk> |