diff --git a/freebsd/Makefile.in b/freebsd/Makefile.in index 4f2d397..e94b395 100644 --- a/freebsd/Makefile.in +++ b/freebsd/Makefile.in @@ -11,27 +11,23 @@ COMMENT= Collection of cryptographic and security-related libraries LICENSE= BSD3CLAUSE -USE_LDCONFIG= yes USES= gmake libtool pkgconfig - -NO_WRKSUBDIR= yes +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +TEST_TARGET= check DESCR= ${WRKDIR}/pkg-descr do-extract: - (${CAT} @top_srcdir@/README && ${ECHO} && \ - ${ECHO} "WWW: @PACKAGE_URL@") >${DESCR} - -do-build: - (cd @top_srcdir@ && \ - ${GMAKE} all) - -do-install: - (cd @top_srcdir@ && \ - ${GMAKE} install-strip DESTDIR=${STAGEDIR} PREFIX=${PREFIX}) + (cd @abs_top_srcdir@ && \ + ${GMAKE} distdir && ${MV} ${PKGNAME} ${WRKDIR}) + (${CAT} ${WRKSRC}/README && ${ECHO} && \ + ${ECHO} "WWW: http://cryb.to/") >${DESCR} post-stage: (cd ${STAGEDIR} && \ - ${FIND} -s . -type f -or -type l | cut -c 2-) >>${TMPPLIST} + ${FIND} -s . -type f -or -type l | cut -c 2- | \ + ${SED} -E '/\/man\//s/([0-9])$$/\1.gz/') >>${TMPPLIST} .include