mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: tree-widget
|
|
# Date created: 27 July 2004
|
|
# Whom: Dryice Liu <dryice@liu.com.cn>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tree-widget
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= editors elisp
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
|
MASTER_SITE_SUBDIR= emhacks
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER= dryice@FreeBSD.org
|
|
COMMENT= A tree widget for Emacs
|
|
|
|
USE_EMACS= yes
|
|
EMACS_PORT_NAME?= emacs22
|
|
|
|
.if ${EMACS_PORT_NAME} != "emacs22"
|
|
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
|
|
.endif
|
|
|
|
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
NO_WRKSUBDIR= yes
|
|
THEMES_SUBDIR= default folder
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${EMACS_NAME} -batch -no-site-file\
|
|
--eval="(add-to-list 'load-path \"${WRKSRC}\")"\
|
|
-f batch-byte-compile *.el
|
|
|
|
do-install:
|
|
${MKDIR} ${LISPDIR}
|
|
.for i in *.el *.elc
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
|
|
.endfor
|
|
${MKDIR} ${LISPDIR}/tree-widget-themes
|
|
.for i in ${THEMES_SUBDIR}
|
|
${MKDIR} ${LISPDIR}/tree-widget-themes/${i}
|
|
${INSTALL_DATA} ${WRKSRC}/tree-widget-themes/${i}/*\
|
|
${LISPDIR}/tree-widget-themes/${i}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|