Lines 1-8
Link Here
|
1 |
PORTNAME= ini_file_manager |
1 |
PORTNAME= ini_file_manager |
2 |
PORTVERSION= 03 |
2 |
PORTVERSION= 11 |
3 |
PORTREVISION= 4 |
|
|
4 |
CATEGORIES= misc |
3 |
CATEGORIES= misc |
5 |
MASTER_SITES= http://sourceforge.net/projects/${SFPATH}/ |
4 |
MASTER_SITES= SF/ini-files/ini-files |
6 |
DISTNAME= ini-files-${PORTVERSION} |
5 |
DISTNAME= ini-files-${PORTVERSION} |
7 |
|
6 |
|
8 |
MAINTAINER= ports@FreeBSD.org |
7 |
MAINTAINER= ports@FreeBSD.org |
Lines 11-37
WWW= https://sourceforge.net/projects/ini-files/
Link Here
|
11 |
|
10 |
|
12 |
LICENSE= MIT |
11 |
LICENSE= MIT |
13 |
|
12 |
|
14 |
BROKEN= gnatmake: project files are no longer supported by gnatmake; use gprbuild instead |
13 |
BUILD_DEPENDS= gprbuild>0:devel/gprbuild |
15 |
|
|
|
16 |
USES= ada zip dos2unix |
14 |
USES= ada zip dos2unix |
17 |
|
15 |
|
18 |
NO_WRKSUBDIR= yes |
16 |
_GPR_ARGS= -j${MAKE_JOBS_NUMBER} -p |
19 |
|
|
|
20 |
SFPATH= ini-files/files/ini-files/ini-files-${PORTVERSION} |
21 |
PORTDOCS= ini_file_manager.txt |
22 |
PORTEXAMPLES= example.gpr test_config.adb runme.sh |
23 |
|
17 |
|
24 |
OPTIONS_DEFINE= DOCS EXAMPLES |
18 |
WRKSRC= ${WRKDIR}/ini-files |
25 |
|
19 |
|
26 |
post-extract: |
20 |
post-extract: |
27 |
${CP} ${FILESDIR}/construct.gpr ${WRKSRC} |
21 |
${CP} ${FILESDIR}/construct.gpr ${WRKSRC} |
28 |
${MKDIR} ${WRKSRC}/src |
22 |
${MKDIR} ${WRKSRC}/src |
29 |
${MV} ${WRKSRC}/config.ad[bs] ${WRKSRC}/src |
23 |
${MV} ${WRKSRC}/config.ad[bs] ${WRKSRC}/src |
30 |
${SED} -e "s,@PREFIX@,${LOCALBASE},g" ${FILESDIR}/runme.sh.in \ |
|
|
31 |
> ${WRKSRC}/runme.sh |
32 |
|
24 |
|
33 |
do-build: |
25 |
do-build: |
34 |
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -Pconstruct) |
26 |
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gprbuild ${_GPR_ARGS} -P construct |
35 |
|
27 |
|
36 |
do-install: |
28 |
do-install: |
37 |
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \ |
29 |
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \ |
Lines 44-57
do-install:
Link Here
|
44 |
${INSTALL_DATA} ${WRKSRC}/lib/* \ |
36 |
${INSTALL_DATA} ${WRKSRC}/lib/* \ |
45 |
${STAGEDIR}${PREFIX}/lib/ini_file_manager |
37 |
${STAGEDIR}${PREFIX}/lib/ini_file_manager |
46 |
|
38 |
|
47 |
do-install-DOCS-on: |
|
|
48 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
49 |
${INSTALL_DATA} ${WRKSRC}/ini_file_manager.txt ${STAGEDIR}${DOCSDIR} |
50 |
|
51 |
do-install-EXAMPLES-on: |
52 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
53 |
${INSTALL_SCRIPT} ${WRKSRC}/runme.sh ${STAGEDIR}${EXAMPLESDIR} |
54 |
${INSTALL_DATA} ${WRKSRC}/test_config.adb \ |
55 |
${FILESDIR}/example.gpr ${STAGEDIR}${EXAMPLESDIR} |
56 |
|
57 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |