Lines 19-25
Link Here
|
19 |
MAN1= dictzip.1 |
19 |
MAN1= dictzip.1 |
20 |
MAN8= dictd.8 |
20 |
MAN8= dictd.8 |
21 |
|
21 |
|
22 |
USE_RC_SUBR= yes |
22 |
USE_RC_SUBR= ${PORTNAME}.sh |
23 |
USE_REINPLACE= yes |
23 |
USE_REINPLACE= yes |
24 |
USE_BISON= yes |
24 |
USE_BISON= yes |
25 |
USE_AUTOTOOLS= libtool:15 |
25 |
USE_AUTOTOOLS= libtool:15 |
Lines 28-34
Link Here
|
28 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
28 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
29 |
LDFLAGS="-L${LOCALBASE}/lib" |
29 |
LDFLAGS="-L${LOCALBASE}/lib" |
30 |
|
30 |
|
31 |
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} |
31 |
SUB_FILES+= pkg-message |
|
|
32 |
SUB_LIST+= PORTSDIR=${PORTSDIR} |
32 |
|
33 |
|
33 |
USE_GMAKE= yes |
34 |
USE_GMAKE= yes |
34 |
|
35 |
|
Lines 44-51
Link Here
|
44 |
post-install: |
45 |
post-install: |
45 |
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/${PORTNAME}.conf > ${PREFIX}/etc/${PORTNAME}.conf.sample |
46 |
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/${PORTNAME}.conf > ${PREFIX}/etc/${PORTNAME}.conf.sample |
46 |
@[ -f ${PREFIX}/etc/${PORTNAME}.conf ] || ${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf |
47 |
@[ -f ${PREFIX}/etc/${PORTNAME}.conf ] || ${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf |
47 |
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/${PORTNAME}.sh > ${PREFIX}/etc/rc.d/${PORTNAME}.sh |
48 |
#@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d |
48 |
@${CHMOD} +x ${PREFIX}/etc/rc.d/${PORTNAME}.sh |
49 |
@${CAT} ${PKGMESSAGE} |
49 |
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${PKGMESSAGE} |
|
|
50 |
|
50 |
|
51 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.mk> |