pkgsrc/devel/cgen/Makefile
rillig 7724b801cd devel: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 10:39:04 +00:00

39 lines
1,011 B
Makefile

# $NetBSD: Makefile,v 1.2 2019/11/03 10:39:08 rillig Exp $
DISTNAME= cgen-20131001
CATEGORIES= devel
MASTER_SITES= ftp://sourceware.org/pub/cgen/snapshots/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://sourceware.org/cgen/
COMMENT= CGEN, the Cpu tools GENerator
LICENSE= gnu-gpl-v3 # with Red Hat exception
DEPENDS+= guile-[0-9]*:../../lang/guile
WRKSRC= ${WRKDIR}/src
CONFIGURE_DIRS= cgen
USE_TOOLS+= makeinfo pax
USE_LANGUAGES= c
GNU_CONFIGURE= yes
INFO_FILES= yes
BUILD_TARGET= info
INSTALL_TARGET= install-info
CGEN_DIR= share/cgen
INSTALLATION_DIRS+= ${CGEN_DIR}/cgen ${CGEN_DIR}/cpu
post-install:
cd ${WRKSRC}/${CONFIGURE_DIRS} && \
${FIND} . -type f \! \( -name '*.orig' -o -name 'Makefile' -o -name 'config*' \) -print | \
pax -rw ${DESTDIR}${PREFIX}/${CGEN_DIR}/cgen
cd ${WRKSRC}/cpu && \
${FIND} . -type f \! \( -name '*.orig' -o -name 'Makefile*' -o -name 'config*' \) -print | \
pax -rw ${DESTDIR}${PREFIX}/${CGEN_DIR}/cpu
.include "../../mk/bsd.pkg.mk"