60d1a83c2a
- 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
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Created by: Dryice Liu <dryice@dryice.name>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= muse
|
|
PORTVERSION= 3.20
|
|
PORTREVISION= 10
|
|
CATEGORIES= textproc elisp
|
|
MASTER_SITES= http://download.gna.org/muse-el/ \
|
|
LOCAL/dryice \
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Authoring and publishing environment for Emacs
|
|
|
|
USE_EMACS= yes
|
|
USES= gmake makeinfo
|
|
|
|
INFO= muse
|
|
|
|
LISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
|
|
|
|
PORTDOCS= AUTHORS ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 NEWS \
|
|
README scripts COPYING
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${LISPDIR}/contrib
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${LISPDIR})
|
|
${INSTALL_DATA} ${WRKSRC}/experimental/* \
|
|
${STAGEDIR}${LISPDIR}/experimental
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|scripts||:S|^|${WRKSRC}/|} \
|
|
${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} scripts ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${EMACS_PORT_NAME} != "emacs23"
|
|
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|