Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= esmtp |
8 |
PORTNAME= esmtp |
9 |
PORTVERSION= 0.5.0 |
9 |
PORTVERSION= 0.5.1 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 18-35
Link Here
|
18 |
LIB_DEPENDS= esmtp.6:${PORTSDIR}/mail/libesmtp |
17 |
LIB_DEPENDS= esmtp.6:${PORTSDIR}/mail/libesmtp |
19 |
|
18 |
|
20 |
USE_BZIP2= yes |
19 |
USE_BZIP2= yes |
21 |
GNU_CONFIGURE= yes |
|
|
22 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
23 |
USE_GETOPT_LONG= yes |
24 |
USE_OPENSSL= yes |
20 |
USE_OPENSSL= yes |
25 |
USE_REINPLACE= yes |
|
|
26 |
USE_BISON= yes |
21 |
USE_BISON= yes |
27 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
22 |
USE_GETOPT_LONG= yes |
28 |
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" |
23 |
USE_REINPLACE= yes |
|
|
24 |
GNU_CONFIGURE= yes |
25 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
26 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
29 |
|
27 |
|
30 |
DOC_FILES= README |
|
|
31 |
MAN1= esmtp.1 |
28 |
MAN1= esmtp.1 |
32 |
MAN5= esmtprc.5 |
29 |
MAN5= esmtprc.5 |
|
|
30 |
PORTDOCS= README |
31 |
PLIST_FILES= bin/esmtp etc/esmtprc.sample |
32 |
|
33 |
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
34 |
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
33 |
|
35 |
|
34 |
post-patch: |
36 |
post-patch: |
35 |
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' \ |
37 |
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' \ |
Lines 41-60
Link Here
|
41 |
|
43 |
|
42 |
do-install: |
44 |
do-install: |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
45 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
44 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 |
46 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 |
45 |
${INSTALL_MAN} ${WRKSRC}/esmtprc.5 ${PREFIX}/man/man5 |
47 |
${INSTALL_MAN} ${WRKSRC}/esmtprc.5 ${MANPREFIX}/man/man5 |
46 |
${INSTALL_DATA} ${WRKSRC}/sample.esmtprc \ |
48 |
${INSTALL_DATA} ${WRKSRC}/sample.esmtprc \ |
47 |
${PREFIX}/etc/esmtprc.sample |
49 |
${PREFIX}/etc/esmtprc.sample |
48 |
@${ECHO} "------------------------------------------------------------" |
50 |
@${ECHO_MSG} "------------------------------------------------------------" |
49 |
@${ECHO} "Sample of configuration file placed at" |
51 |
@${ECHO_MSG} "Sample of configuration file placed at" |
50 |
@${ECHO} "${PREFIX}/etc/esmtprc.sample" |
52 |
@${ECHO_MSG} "${PREFIX}/etc/esmtprc.sample" |
51 |
@${ECHO} "------------------------------------------------------------" |
53 |
@${ECHO_MSG} "------------------------------------------------------------" |
52 |
|
54 |
|
53 |
post-install: |
55 |
post-install: |
54 |
.if !defined(NOPORTDOCS) |
56 |
.if !defined(NOPORTDOCS) |
55 |
@${MKDIR} ${DOCSDIR} |
57 |
@${MKDIR} ${DOCSDIR} |
56 |
.for doc in ${DOC_FILES} |
58 |
.for doc in ${PORTDOCS} |
57 |
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} |
59 |
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} |
58 |
.endfor |
60 |
.endfor |
59 |
.endif |
61 |
.endif |
60 |
|
62 |
|