mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
28 lines
606 B
Makefile
28 lines
606 B
Makefile
# Created by: Ed Schouten <ed@fxq.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= elfrc
|
|
PORTVERSION= 0.7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://ktown.kde.org/~frerich/
|
|
|
|
MAINTAINER= ed@FreeBSD.org
|
|
COMMENT= Resource compiler for ELF systems
|
|
|
|
PLIST_FILES= bin/elfrc
|
|
PORTDOCS= README
|
|
|
|
NO_STAGE= yes
|
|
do-build:
|
|
@${ECHO} '#define ELFRC_VERSION "${PORTVERSION}"' > ${WRKSRC}/config.h
|
|
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/elfrc ${WRKSRC}/elfrc.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|