freebsd-ports/textproc/uim-el/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

47 lines
1.2 KiB
Makefile

# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
# $FreeBSD$
PORTNAME= uim-el
PORTVERSION= 1.8.6
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= uim-${PORTVERSION}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT?= Emacs lisp for uim input method library
PROJECTHOST= uim
CONFLICTS?= uim-el-xemacs21-mule-[0-9]* \
uim-el-emacs22-[0-9]* \
uim-el-emacs21-[0-9]*
RUN_DEPENDS= uim-el-agent:${PORTSDIR}/textproc/uim
OPTIONS_DEFINE= DOCS
USES= gettext-tools gmake iconv perl5 tar:bzip2
USE_PERL5= build
USE_GNOME= intltool
USE_EMACS= yes
GNU_CONFIGURE= yes
BUILD_WRKSRC= ${WRKSRC}/emacs
INSTALL_WRKSRC= ${WRKSRC}/emacs
CONFIGURE_ARGS?=--enable-emacs --with-lispdir=${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
CONFIGURE_ENV= EMACS="${EMACS_CMD}"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim-el
PLIST_SUB+= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}"
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR_JA}
${INSTALL_DATA} ${WRKSRC}/emacs/README ${STAGEDIR}${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/emacs/README.ja ${STAGEDIR}${DOCSDIR_JA}/README.ja
.include <bsd.port.mk>