Lines 7-12
Link Here
|
7 |
|
8 |
|
8 |
PORTNAME= oidentd |
9 |
PORTNAME= oidentd |
9 |
PORTVERSION= 2.0.7 |
10 |
PORTVERSION= 2.0.7 |
|
|
11 |
PORTREVISION= 1 |
10 |
CATEGORIES= security |
12 |
CATEGORIES= security |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ojnk |
14 |
MASTER_SITE_SUBDIR= ojnk |
Lines 16-22
Link Here
|
16 |
|
18 |
|
17 |
USE_GMAKE= yes |
19 |
USE_GMAKE= yes |
18 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
|
|
21 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
22 |
|
23 |
PLIST_FILES= sbin/oidentd \ |
24 |
etc/oidentd.conf.sample \ |
25 |
etc/oidentd_masq.conf.sample \ |
26 |
etc/rc.d/oidentd.sh |
27 |
|
19 |
MAN5= oidentd.conf.5 oidentd_masq.conf.5 |
28 |
MAN5= oidentd.conf.5 oidentd_masq.conf.5 |
20 |
MAN8= oidentd.8 |
29 |
MAN8= oidentd.8 |
21 |
|
30 |
|
22 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.pre.mk> |
|
|
32 |
|
33 |
.if ${OSVERSION} >= 500038 |
34 |
RC_SUBR= /etc/rc.subr |
35 |
.else |
36 |
USE_RC_SUBR= yes |
37 |
.endif |
38 |
|
39 |
post-build: |
40 |
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ |
41 |
-e 's,%%RC_SUBR%%,${RC_SUBR},g' \ |
42 |
<${FILESDIR}/oidentd.sh >${WRKDIR}/oidentd.sh |
43 |
|
44 |
do-install: |
45 |
${INSTALL_PROGRAM} ${WRKSRC}/src/oidentd ${PREFIX}/sbin |
46 |
${INSTALL_DATA} ${MAN5:S,^,${FILESDIR}/,:S,5$,sample,} ${PREFIX}/etc |
47 |
${INSTALL_SCRIPT} ${WRKDIR}/oidentd.sh ${PREFIX}/etc/rc.d |
48 |
${INSTALL_MAN} ${MAN5:S,^,${WRKSRC}/doc/,} ${PREFIX}/man/man5 |
49 |
${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/doc/,} ${PREFIX}/man/man8 |
50 |
|
51 |
.include <bsd.port.post.mk> |