Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= autocd |
8 |
PORTNAME= autocd |
9 |
PORTVERSION= 3.02.12b |
9 |
PORTVERSION= 3.02.12b |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= audio sysutils |
11 |
CATEGORIES= audio sysutils |
11 |
MASTER_SITES= ftp://kot.spb.ru/pub/src/projects/autocd/ |
12 |
MASTER_SITES= ftp://kot.spb.ru/pub/src/projects/autocd/ |
12 |
|
13 |
|
Lines 15-36
Link Here
|
15 |
|
16 |
|
16 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
17 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
18 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
|
|
19 |
.if !defined (NO_INSTALL_MANPAGES) |
18 |
MAN1= cdctl.1 acdplay.1 |
20 |
MAN1= cdctl.1 acdplay.1 |
19 |
MAN8= autocd.8 |
21 |
MAN8= autocd.8 |
20 |
MLINKS= cdctl.1 eject.1 cdctl.1 pause.1 |
22 |
MLINKS= cdctl.1 eject.1 cdctl.1 pause.1 |
|
|
23 |
.endif |
24 |
|
21 |
PLIST_FILES= sbin/autocd bin/acdplay bin/cdctl bin/pause bin/eject |
25 |
PLIST_FILES= sbin/autocd bin/acdplay bin/cdctl bin/pause bin/eject |
22 |
PORTDOCS= README.rus.html |
26 |
PORTDOCS= README.rus.html |
23 |
|
27 |
|
24 |
USE_RC_SUBR= yes |
28 |
USE_RC_SUBR= autocd |
25 |
RC_SUFX= .sh |
|
|
26 |
SED_SCRIPT+= -e '{ s,%%PREFIX%%,${PREFIX},g; s,%%RC_SUBR%%,${RC_SUBR},g; }' |
27 |
PLIST_FILES+= etc/rc.d/autocd${RC_SUFX} |
28 |
|
29 |
post-build: |
30 |
@${SED} ${SED_SCRIPT} ${FILESDIR}/autocd.sh >${WRKDIR}/autocd.sh |
31 |
|
29 |
|
32 |
post-install: |
30 |
post-install: |
33 |
${INSTALL_SCRIPT} ${WRKDIR}/autocd.sh ${PREFIX}/etc/rc.d/autocd${RC_SUFX} |
|
|
34 |
.if !defined(NOPORTDOCS) |
31 |
.if !defined(NOPORTDOCS) |
35 |
${MKDIR} ${DOCSDIR} |
32 |
${MKDIR} ${DOCSDIR} |
36 |
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} |
33 |
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} |