7baaf3f375
The Ini file manager consists of a package, Config, which can read or write informations from various configuration files known as "ini" files because they have often the ".ini" extension. It is an Ada library.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2016/12/12 00:40:17 marino Exp $
|
|
|
|
PKGNAME= ini_file_manager-${IFM_VERSION}
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://sourceforge.net/projects/${SFPATH}/
|
|
DISTFILES= ini-files-${IFM_VERSION}.zip
|
|
|
|
MAINTAINER= draco@marino.st
|
|
HOMEPAGE= http://sourceforge.net/projects/ini-files
|
|
COMMENT= Ini configuration file reader and manipulator package for Ada
|
|
LICENSE= mit
|
|
|
|
IFM_VERSION= 03
|
|
SFPATH= ini-files/files/ini-files/ini-files-${IFM_VERSION}
|
|
|
|
USE_LANGUAGES= C ada
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}/src
|
|
${CP} ${FILESDIR}/construct.gpr ${WRKSRC}
|
|
${MV} ${WRKDIR}/config.ad[bs] ${WRKSRC}/src/
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -Pconstruct)
|
|
|
|
do-install:
|
|
${MKDIR} ${DESTDIR}${PREFIX}/lib/gnat \
|
|
${DESTDIR}${PREFIX}/lib/ini_file_manager \
|
|
${DESTDIR}${PREFIX}/include/ini_file_manager
|
|
${INSTALL_DATA} ${FILESDIR}/ini_file_manager.gpr \
|
|
${DESTDIR}${PREFIX}/lib/gnat
|
|
${INSTALL_DATA} ${WRKSRC}/src/* \
|
|
${DESTDIR}${PREFIX}/include/ini_file_manager
|
|
${INSTALL_DATA} ${WRKSRC}/lib/* \
|
|
${DESTDIR}${PREFIX}/lib/ini_file_manager
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|