Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Convert to options variable helper - Update manpage location (003a571, r523104) - Sort PLIST - Take maintainership Changes: https://www.fefe.de/libowfat/changes-0.33.txt
- Loading branch information
Showing
9 changed files
with
430 additions
and
869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,33 @@ | ||
PORTNAME= libowfat | ||
PORTVERSION= 0.32 | ||
PORTREVISION= 1 | ||
PORTVERSION= 0.33 | ||
CATEGORIES= devel | ||
MASTER_SITES= https://www.fefe.de/libowfat/ | ||
|
||
MAINTAINER= ports@FreeBSD.org | ||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= General purpose library based on code by D. J. Bernstein | ||
WWW= https://www.fefe.de/libowfat/ | ||
|
||
LICENSE= GPLv2 | ||
LICENSE_FILE= ${WRKSRC}/COPYING | ||
|
||
USES= gmake tar:xz | ||
|
||
#ALL_TARGET= headers | ||
#ALL_TARGET= havealloca.h iopause.h headers all | ||
#CFLAGS+= -fPIC | ||
#MAKE_ENV= DIET= | ||
MAKEFILE= GNUmakefile | ||
ALL_TARGET= dep all | ||
#MAKE_JOBS_UNSAFE= yes | ||
|
||
OPTIONS_DEFINE= OPTIMIZED_CFLAGS | ||
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS | ||
|
||
.include <bsd.port.pre.mk> | ||
|
||
MAKE_ENV+= INSTALL="${INSTALL}" | ||
|
||
.include "${FILESDIR}/manpages" | ||
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS | ||
|
||
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} | ||
CFLAGS+= -O2 -fomit-frame-pointer | ||
.endif | ||
OPTIMIZED_CFLAGS_CFLAGS= -O2 -fomit-frame-pointer | ||
|
||
post-extract: | ||
@${MKDIR} ${WRKSRC}/man | ||
# Manual pages clash with other programs; prepend libowfat_ to them. | ||
.for i in ${MANPAGES} | ||
@${MV} ${WRKSRC}/*/${i:S/libowfat_//} ${WRKSRC}/man/${i} | ||
.endfor | ||
pre-build: | ||
@cd ${WRKSRC} && ${DO_MAKE_BUILD} headers | ||
|
||
post-patch: | ||
# Clang cries when void functions return a value | ||
${REINPLACE_CMD} -e '56s|return ||' ${WRKSRC}/CAS.h | ||
${REINPLACE_CMD} -e "s|STAGEDIR|${STAGEDIR}|g" ${WRKSRC}/GNUmakefile | ||
post-install: | ||
cd ${STAGEDIR}${PREFIX}/share/man/man3 && ${FIND} * -name '*.3' -exec ${MV} {} libowfat_{} \; | ||
|
||
.include <bsd.port.post.mk> | ||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1613798981 | ||
SHA256 (libowfat-0.32.tar.xz) = f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1 | ||
SIZE (libowfat-0.32.tar.xz) = 195820 | ||
TIMESTAMP = 1686496682 | ||
SHA256 (libowfat-0.33.tar.xz) = 311ec8b3f4b72bb442e323fb013a98f956fa745547f2bc9456287b20d027cd7d | ||
SIZE (libowfat-0.33.tar.xz) = 213920 |
Oops, something went wrong.