1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add staging support

- Convert to new options framework
- Fix shebangs in scripts, bump PORTREVISION
This commit is contained in:
Pawel Pekala 2014-06-01 15:59:44 +00:00
parent 7a6ffb6211
commit fd2a6e212c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356144

View File

@ -3,6 +3,7 @@
PORTNAME= im
PORTVERSION= 151
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://tats.haun.org/im/
@ -12,29 +13,19 @@ COMMENT= Set of user interfaces of Email and NetNews
USES= perl5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-hostname=_domain_of_your_mail_address_
CONFIGURE_ENV= im_path_perl=${PERL}
MAKE_ARGS= prefix=${PREFIX} imlibdir=${ETCDIR}
# Use RPOP instead of APOP
.if defined(WITH_RPOP)
CONFIGURE_ARGS+= --enable-rpop
.endif
OPTIONS_DEFINE= DOCS EXAMPLES RPOP
RPOP_DESC= Use RPOP instead of APOP
RPOP_CONFIGURE_ENABLE= rpop
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/00* ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/man
${INSTALL_DATA} ${WRKSRC}/man/* ${DOCSDIR}/man
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dot.im/* ${EXAMPLESDIR}
.endif
## for make PLIST (only maintainer use)
#arrange:
# ${MAKE} -DPLIST_OVERRIDE \
# DIRRMDEPTH=1 plist
@${MKDIR} ${STAGEDIR}${DOCSDIR}/man
${INSTALL_DATA} ${WRKSRC}/00* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/man/* ${STAGEDIR}${DOCSDIR}/man
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dot.im/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>