Changeset View
Changeset View
Standalone View
Standalone View
sysutils/procenv/Makefile
# Created by: James Hunt <james.hunt@ubuntu.com> | # Created by: James Hunt <james.hunt@ubuntu.com> | ||||
PORTNAME= procenv | PORTNAME= procenv | ||||
PORTVERSION= 0.51 | DISTVERSION= 0.55 | ||||
diizzy: Minor style fix
PORTVERSION --> DISTVERSION
See "Table 5.2. Package Naming Examples" in… | |||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= eduardo@FreeBSD.org | ||||
COMMENT= Utility to show process environment | COMMENT= Utility to show process environment | ||||
LICENSE= GPLv3+ | LICENSE= GPLv3+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
BUILD_DEPENDS= xmlwf:textproc/expat2 | BUILD_DEPENDS= xmlwf:textproc/expat2 | ||||
LIB_DEPENDS= libsysinfo.so:devel/libsysinfo | |||||
Done Inline ActionsYou can remove this, it's already on LIB_DEPENDS. dbaio: You can remove this, it's already on `LIB_DEPENDS`. | |||||
#USES= autoreconf gmake perl5 | USES= autoreconf localbase perl5 | ||||
USES= autoreconf perl5 | |||||
USE_PERL5= build | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= jamesodhunt | GH_ACCOUNT= jamesodhunt | ||||
Done Inline ActionsThis is badly orderered, needs some vertical whitespace before USES. mat: This is badly orderered, needs some vertical whitespace before USES. | |||||
USE_PERL5= build | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
TEST_TARGET= check | TEST_TARGET= check | ||||
PLIST_FILES= bin/procenv \ | PLIST_FILES= bin/procenv \ | ||||
Done Inline ActionsUse USES= localbase instead? diizzy: Use USES= localbase instead? | |||||
Done Inline ActionsIt works very well thanks and there is no need to use LDFLAGS either: (...) checking for library containing sysinfo... -lsysinfo (...) Check unit test framework : Libraries: libapparmor : no libselinux : no libcap : no libnuma : no libpthread : yes libkvm : yes > libsysinfo / sysinfo : yes < eduardo: It works very well thanks and there is no need to use LDFLAGS either:
```
(...)
checking for… | |||||
man/man1/procenv.1.gz | man/man1/procenv.1.gz | ||||
Done Inline Actionsfix build with devel/libsysinfo dependecy: eduardo: fix build with devel/libsysinfo dependecy:
https://github.com/jamesodhunt/procenv/issues/19 | |||||
PORTDOCS= AUTHORS ChangeLog NEWS README TODO | PORTDOCS= AUTHORS ChangeLog NEWS README TODO | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e '/^PKG_/d' ${WRKSRC}/configure.ac | @${REINPLACE_CMD} -e '/^PKG_/d' ${WRKSRC}/configure.ac | ||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} | cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Minor style fix
PORTVERSION --> DISTVERSION
See "Table 5.2. Package Naming Examples" in Porters Handbook