1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/lang/quack/Makefile

42 lines
986 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
# $FreeBSD$
PORTNAME= quack
PORTVERSION= 0.47
PORTREVISION= 4
CATEGORIES= lang scheme elisp
MASTER_SITES= http://www.neilvandyke.org/quack/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .el
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Enhanced support for editing and running Scheme code
LICENSE= GPLv2
RUN_DEPENDS= wget:ftp/wget
USES= emacs
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= ${WRKSRC}
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/quack/quack.el \
${EMACS_VERSION_SITE_LISPDIR}/quack/quack.elc
PLIST_DIRS= ${EMACS_VERSION_SITE_LISPDIR}/quack
ELISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
do-build:
cd ${WRKSRC} && ${EMACS_CMD} -batch -q -f batch-byte-compile quack.el
do-install:
${MKDIR} ${STAGEDIR}${ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/quack.* ${STAGEDIR}${ELISPDIR}
.include <bsd.port.mk>