mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Respect CC
- Respect CFLAGS - Install docs if NOPORTDOCS is not set - Bump PORTREVISION PR: 101810 Submitted by: gabor Approved by: maintainer timeout
This commit is contained in:
parent
ae6aeefdf5
commit
eefc3f4c5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171377
1 changed files with 16 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= unadf
|
||||
PORTVERSION= 0.7.9b
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://perso.club-internet.fr/lclevy/adflib/
|
||||
DISTNAME= adflib
|
||||
|
@ -17,12 +17,26 @@ COMMENT= Extracts files from .adf-files used by Amiga emulators
|
|||
|
||||
NO_WRKSUBDIR= yes
|
||||
PLIST_FILES= bin/unadf
|
||||
PORTDOCS= API.txt api_device.html api_dir.html api_env.html api_file.html \
|
||||
api_index.html api_native.html api_salv.html api_volume.html
|
||||
USE_ZIP= yes
|
||||
|
||||
pre-build:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s@tests lib demo@lib demo@g" ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} 's|CFLAGS=-I$$(LIBDIR) -O2 -Wall -Wno-uninitialized -pedantic|CFLAGS+= -I$$(LIBDIR)|' \
|
||||
${WRKSRC}/Demo/Makefile
|
||||
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS+=|' \
|
||||
-e 's|-Wall -O2 -pedantic||' \
|
||||
-e 's|CC=|CC?=|' \
|
||||
${WRKSRC}/Lib/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Demo/unadf ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/Docs/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue