freebsd-ports/editors/tree-widget/Makefile
Edwin Groothuis 8c8fc31c5c [maintainer update] 16 ports: add mirror MASTER_SITES
Please add http://bsdchat.com/dist/dryice/ to the MASTER_SITES
	of the following ports. Thanks Clive Lin and bsdchat.com for
	the mirror space!

	chinese/xpdf
	deskutils/etask
	devel/cedet
	devel/ecb
	devel/eieio
	devel/ipython
	devel/kodos
	devel/semantic
	devel/xtla
	editors/speedbar
	editors/tree-widget
	games/emacs-chess
	net/tcping
	www/mod_scgi
	www/py-scgi
	www/quixote

PR:		ports/75743
Submitted by:	Dryice Liu <dryice@liu.com.cn>
2005-01-13 00:20:28 +00:00

46 lines
1.1 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
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://bsdchat.com/dist/dryice/
MASTER_SITE_SUBDIR= emhacks
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= dryice@liu.com.cn
COMMENT= A tree widget for Emacs
EMACS_PORT_NAME?= emacs21
.if ${EMACS_PORT_NAME} != "emacs21"
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>