21a283f3be
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
30 lines
623 B
Makefile
30 lines
623 B
Makefile
# Created by: Martti Kuparinen <martti.kuparinen@ericsson.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= IMAP-Admin
|
|
PORTVERSION= 1.6.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl module for basic IMAP server administration
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
PORTEXAMPLES= create.pl delete.pl
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|