freebsd-ports/mail/p5-IMAP-Admin/Makefile
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
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
2015-08-17 14:20:40 +00:00

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>